Backed out changeset 8775c279e59c
authorAndreas Gal <gal@mozilla.com>
Mon, 12 Jan 2009 19:39:55 -0800
changeset 23718 a7e6a4d85b4f6ba28cb8b28930b0bd66e3416f0c
parent 23716 8775c279e59c3fbdbf220db6edd9fbf82a3a35de
child 23719 0f835ebad7060123b7f412b81d18aff87de94b68
push id4690
push userrsayre@mozilla.com
push dateThu, 15 Jan 2009 07:42:55 +0000
treeherdermozilla-central@ddfa483fea2a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.2a1pre
backs out8775c279e59c3fbdbf220db6edd9fbf82a3a35de
Backed out changeset 8775c279e59c
js/src/nanojit/LIR.cpp
--- a/js/src/nanojit/LIR.cpp
+++ b/js/src/nanojit/LIR.cpp
@@ -1126,17 +1126,17 @@ namespace nanojit
 
 		NanoAssert(argc <= (int)MAXARGS);
 		uint32_t words = argwords(argc);
 		int32_t insSz = words + LIR_CALL_SLOTS; // words need for offsets + size of instruction
 		ensureRoom(argc + insSz);  // argc=# possible tramps for args
 
 		// Argument deltas are calculated relative to the final LIns,
 		// which is the last word in the cluster.
-		LInsp from = _buf->next() + argc * LIR_FAR_SLOTS + insSz - 1; 
+		LInsp from = _buf->next() + argc + insSz - 1; 
 		for (int32_t i=0; i < argc; i++)
 			makeReachable(args[i], from);
 
 		// skip 'words' needed for call parameters
 		LirCallIns *l = (LirCallIns*) (_buf->next()+words);
 		l->ci = ci;
 
 		// call parameters laid in reverse order