Revision: 24667
Author:   [email protected]
Date:     Thu Oct 16 16:25:27 2014 UTC
Log:      MIPS: Fix code for InstanceofStub.

Port r24654 (66aa0fb)

BUG=
[email protected]

Review URL: https://codereview.chromium.org/661803002
https://code.google.com/p/v8/source/detail?r=24667

Modified:
 /branches/bleeding_edge/src/mips/code-stubs-mips.cc
 /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips/code-stubs-mips.cc Thu Oct 16 12:27:35 2014 UTC +++ /branches/bleeding_edge/src/mips/code-stubs-mips.cc Thu Oct 16 16:25:27 2014 UTC
@@ -1572,9 +1572,7 @@
   __ Branch(&slow, ne, scratch, Operand(JS_FUNCTION_TYPE));

   // Null is not instance of anything.
-  __ Branch(&object_not_null,
-            ne,
-            scratch,
+  __ Branch(&object_not_null, ne, object,
             Operand(isolate()->factory()->null_value()));
   if (ReturnTrueFalseObject()) {
     __ LoadRoot(v0, Heap::kFalseValueRootIndex);
=======================================
--- /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Wed Oct 1 11:53:29 2014 UTC +++ /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Thu Oct 16 16:25:27 2014 UTC
@@ -1542,9 +1542,7 @@
   __ Branch(&slow, ne, scratch, Operand(JS_FUNCTION_TYPE));

   // Null is not instance of anything.
-  __ Branch(&object_not_null,
-            ne,
-            scratch,
+  __ Branch(&object_not_null, ne, object,
             Operand(isolate()->factory()->null_value()));
   __ li(v0, Operand(Smi::FromInt(1)));
   __ DropAndRet(HasArgsInRegisters() ? 0 : 2);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to