Revision: 21798
Author:   [email protected]
Date:     Thu Jun 12 09:20:59 2014 UTC
Log:      Fix register mixup in arm64's Crankshafted typeof() == 'object'

[email protected]

Review URL: https://codereview.chromium.org/330593003
http://code.google.com/p/v8/source/detail?r=21798

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

=======================================
--- /branches/bleeding_edge/src/arm64/lithium-codegen-arm64.cc Wed Jun 11 13:29:25 2014 UTC +++ /branches/bleeding_edge/src/arm64/lithium-codegen-arm64.cc Thu Jun 12 09:20:59 2014 UTC
@@ -5896,7 +5896,7 @@
__ CompareInstanceType(map, scratch, LAST_NONCALLABLE_SPEC_OBJECT_TYPE);
     __ B(gt, false_label);
     // Check for undetectable objects => false.
-    __ Ldrb(scratch, FieldMemOperand(value, Map::kBitFieldOffset));
+    __ Ldrb(scratch, FieldMemOperand(map, Map::kBitFieldOffset));
     EmitTestAndBranch(instr, eq, scratch, 1 << Map::kIsUndetectable);

   } else {

--
--
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