Revision: 12486
Author:   [email protected]
Date:     Wed Sep 12 01:37:47 2012
Log: Fixed CHECK failure in LCodeGen::DoWrapReceiver when --deopt-every-n-times flag is present

BUG=148389

Review URL: https://chromiumcodereview.appspot.com/10914222
http://code.google.com/p/v8/source/detail?r=12486

Modified:
 /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Mon Sep 10 01:35:26 2012 +++ /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Wed Sep 12 01:37:47 2012
@@ -2946,12 +2946,12 @@
          FieldOperand(function, JSFunction::kSharedFunctionInfoOffset));
__ test_b(FieldOperand(scratch, SharedFunctionInfo::kStrictModeByteOffset),
             1 << SharedFunctionInfo::kStrictModeBitWithinByte);
-  __ j(not_equal, &receiver_ok, Label::kNear);
+  __ j(not_equal, &receiver_ok);  // A near jump is not sufficient here!

   // Do not transform the receiver to object for builtins.
   __ test_b(FieldOperand(scratch, SharedFunctionInfo::kNativeByteOffset),
             1 << SharedFunctionInfo::kNativeBitWithinByte);
-  __ j(not_equal, &receiver_ok, Label::kNear);
+  __ j(not_equal, &receiver_ok);

   // Normal function. Replace undefined or null with global receiver.
   __ cmp(receiver, factory()->null_value());

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to