Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 557a48381c2fa6fc94c8e87616abd3b47e52a1b1..4d3b09a2f9eeb9be9807e6534617fc2ec867a7a5 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -91,7 +91,8 @@ void IC::TraceIC(const char* type, |
JavaScriptFrame::PrintTop(isolate(), stdout, false, true); |
Code::ExtraICState extra_state = new_target->extra_ic_state(); |
const char* modifier = |
- GetTransitionMarkModifier(Code::GetKeyedAccessStoreMode(extra_state)); |
+ GetTransitionMarkModifier( |
+ KeyedStoreIC::GetKeyedAccessStoreMode(extra_state)); |
PrintF(" (%c->%c%s)", |
TransitionMarkFromState(state()), |
TransitionMarkFromState(new_state), |
@@ -532,7 +533,7 @@ void StoreIC::Clear(Isolate* isolate, Address address, Code* target) { |
if (IsCleared(target)) return; |
SetTargetAtAddress(address, |
*pre_monomorphic_stub( |
- isolate, Code::GetStrictMode(target->extra_ic_state()))); |
+ isolate, StoreIC::GetStrictMode(target->extra_ic_state()))); |
} |
@@ -540,7 +541,7 @@ void KeyedStoreIC::Clear(Isolate* isolate, Address address, Code* target) { |
if (IsCleared(target)) return; |
SetTargetAtAddress(address, |
*pre_monomorphic_stub( |
- isolate, Code::GetStrictMode(target->extra_ic_state()))); |
+ isolate, StoreIC::GetStrictMode(target->extra_ic_state()))); |
} |
@@ -822,7 +823,7 @@ MaybeObject* KeyedCallIC::LoadFunction(Handle<Object> object, |
if (stub.is_null()) { |
stub = isolate()->stub_cache()->ComputeCallMegamorphic( |
- argc, Code::KEYED_CALL_IC, Code::kNoExtraICState); |
+ argc, Code::KEYED_CALL_IC, IC::kNoExtraICState); |
if (object->IsJSObject()) { |
Handle<JSObject> receiver = Handle<JSObject>::cast(object); |
if (receiver->elements()->map() == |
@@ -1043,7 +1044,7 @@ void IC::UpdateMonomorphicIC(Handle<Type> type, |
Handle<String> name) { |
if (!handler->is_handler()) return set_target(*handler); |
Handle<Code> ic = isolate()->stub_cache()->ComputeMonomorphicIC( |
- name, type, handler, strict_mode()); |
+ name, type, handler, extra_ic_state()); |
set_target(*ic); |
} |
@@ -1753,7 +1754,7 @@ Handle<Code> KeyedStoreIC::StoreElementStub(Handle<JSObject> receiver, |
// superset of the original IC. Handle those here if the receiver map hasn't |
// changed or it has transitioned to a more general kind. |
KeyedAccessStoreMode old_store_mode = |
- Code::GetKeyedAccessStoreMode(target()->extra_ic_state()); |
+ KeyedStoreIC::GetKeyedAccessStoreMode(target()->extra_ic_state()); |
Handle<Map> previous_receiver_map = target_receiver_maps.at(0); |
if (state() == MONOMORPHIC) { |
// If the "old" and "new" maps are in the same elements map family, stay |