Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index 3f550438a487849c8931dc6d87f7b51d8b125405..ae8e5c3e228e6c93fe24f1370050eb43c4c24893 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -525,9 +525,12 @@ class KeyedLoadIC: public LoadIC { |
Handle<Code> LoadElementStub(Handle<JSObject> receiver); |
- virtual Handle<Code> megamorphic_stub(); |
- virtual Handle<Code> generic_stub() const; |
- |
+ virtual Handle<Code> megamorphic_stub() { |
+ return isolate()->builtins()->KeyedLoadIC_Generic(); |
+ } |
+ virtual Handle<Code> generic_stub() const { |
+ return isolate()->builtins()->KeyedLoadIC_Generic(); |
+ } |
virtual Handle<Code> slow_stub() const { |
return isolate()->builtins()->KeyedLoadIC_Slow(); |
} |