Revision: 19393
Author: [email protected]
Date: Fri Feb 14 18:06:34 2014 UTC
Log: MIPS: Don't mix handler flags into regular flag computation.
Port r19384 (4ba5d0d)
BUG=
[email protected]
Review URL: https://codereview.chromium.org/167243003
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19393
Modified:
/branches/bleeding_edge/src/mips/ic-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/ic-mips.cc Wed Feb 12 17:31:29 2014 UTC
+++ /branches/bleeding_edge/src/mips/ic-mips.cc Fri Feb 14 18:06:34 2014 UTC
@@ -348,9 +348,7 @@
// -----------------------------------
// Probe the stub cache.
- Code::Flags flags = Code::ComputeFlags(
- Code::HANDLER, MONOMORPHIC, extra_state,
- Code::NORMAL, Code::LOAD_IC);
+ Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC,
extra_state);
masm->isolate()->stub_cache()->GenerateProbe(
masm, flags, a0, a2, a3, t0, t1, t2);
@@ -1182,7 +1180,7 @@
void StoreIC::GenerateMegamorphic(MacroAssembler* masm,
- ExtraICState extra_ic_state) {
+ ExtraICState extra_state) {
// ----------- S t a t e -------------
// -- a0 : value
// -- a1 : receiver
@@ -1191,9 +1189,7 @@
// -----------------------------------
// Get the receiver from the stack and probe the stub cache.
- Code::Flags flags = Code::ComputeFlags(
- Code::HANDLER, MONOMORPHIC, extra_ic_state,
- Code::NORMAL, Code::STORE_IC);
+ Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC,
extra_state);
masm->isolate()->stub_cache()->GenerateProbe(
masm, flags, a1, a2, a3, t0, t1, t2);
--
--
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/groups/opt_out.