Reviewers: dstence, joransiu, john.yan,
Description:
PPC: Fix "Correctify instanceof and make it optimizable."
[email protected], [email protected], [email protected]
BUG=
Please review this at https://codereview.chromium.org/1318823006/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/ppc/code-stubs-ppc.cc
Index: src/ppc/code-stubs-ppc.cc
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
index
0e1d86024f45e6c2f7bb8760da041ec296ff1945..896dd6c1df6b0b5a31da9dae50f154a9439ff1af
100644
--- a/src/ppc/code-stubs-ppc.cc
+++ b/src/ppc/code-stubs-ppc.cc
@@ -1411,7 +1411,7 @@ void InstanceOfStub::Generate(MacroAssembler* masm) {
// Ensure that {function} has an instance prototype.
__ lbz(scratch, FieldMemOperand(function_map, Map::kBitFieldOffset));
- __ TestBit(scratch, Map::HasNonInstancePrototype, r0);
+ __ TestBit(scratch, Map::kHasNonInstancePrototype, r0);
__ bne(&slow_case, cr0);
// Ensure that {function} is not bound.
--
--
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.