Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index 00c4ee183d9d787f8ddb918b301ff14fbfe667aa..cd9428e2c9730bd78fc58607d097c4cbdcaeb739 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -149,11 +149,11 @@ class IC { |
UNREACHABLE(); |
return Handle<Code>::null(); |
} |
- virtual Handle<Code> CompileHandler(LookupIterator* lookup, |
- Handle<Object> value, |
- CacheHolderFlag cache_holder) { |
+ virtual Handle<Object> CompileHandler(LookupIterator* lookup, |
+ Handle<Object> value, |
+ CacheHolderFlag cache_holder) { |
UNREACHABLE(); |
- return Handle<Code>::null(); |
+ return Handle<Object>::null(); |
} |
void UpdateMonomorphicIC(Handle<Object> handler, Handle<Name> name); |
@@ -307,8 +307,8 @@ class LoadIC : public IC { |
Handle<Object> GetMapIndependentHandler(LookupIterator* lookup) override; |
- Handle<Code> CompileHandler(LookupIterator* lookup, Handle<Object> unused, |
- CacheHolderFlag cache_holder) override; |
+ Handle<Object> CompileHandler(LookupIterator* lookup, Handle<Object> unused, |
+ CacheHolderFlag cache_holder) override; |
private: |
Handle<Object> SimpleFieldLoad(FieldIndex index); |
@@ -416,8 +416,8 @@ class StoreIC : public IC { |
void UpdateCaches(LookupIterator* lookup, Handle<Object> value, |
JSReceiver::StoreFromKeyed store_mode); |
Handle<Object> GetMapIndependentHandler(LookupIterator* lookup) override; |
- Handle<Code> CompileHandler(LookupIterator* lookup, Handle<Object> value, |
- CacheHolderFlag cache_holder) override; |
+ Handle<Object> CompileHandler(LookupIterator* lookup, Handle<Object> value, |
+ CacheHolderFlag cache_holder) override; |
private: |
friend class IC; |