Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 1f3fa9320213c5d2b6b4463ce723287b251449d7..2e89a516aaf420812df2e7eafb4a9816d406ab2d 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -517,9 +517,6 @@ class StubCompiler BASE_EMBEDDED { |
Isolate* isolate() { return isolate_; } |
Heap* heap() { return isolate()->heap(); } |
Factory* factory() { return isolate()->factory(); } |
- ContextualMode contextual_mode() { |
- return IC::GetContextualMode(extra_state()); |
- } |
static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code); |
@@ -687,6 +684,10 @@ class LoadStubCompiler: public BaseLoadStoreStubCompiler { |
static Register* registers(); |
protected: |
+ ContextualMode contextual_mode() { |
+ return LoadIC::GetContextualMode(extra_state()); |
+ } |
+ |
virtual Register HandlerFrontendHeader(Handle<Type> type, |
Register object_reg, |
Handle<JSObject> holder, |