Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index 4bf259a2f481f04908cdcf3774947e6611fc0474..2136dcb917138c32feb550af6c1b948863ef532a 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -184,7 +184,7 @@ class IC { |
Handle<JSObject> receiver, |
Handle<String> name, |
Handle<Code> code); |
- virtual void UpdateMegamorphicCache(Map* map, String* name, Code* code); |
+ virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code); |
virtual Handle<Code> megamorphic_stub() { |
UNREACHABLE(); |
return Handle<Code>::null(); |
@@ -471,7 +471,7 @@ class KeyedLoadIC: public LoadIC { |
virtual Handle<Code> ComputeLoadHandler(LookupResult* lookup, |
Handle<JSObject> receiver, |
Handle<String> name); |
- virtual void UpdateMegamorphicCache(Map* map, String* name, Code* code) { } |
+ virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code) { } |
private: |
// Stub accessors. |
@@ -620,7 +620,7 @@ class KeyedStoreIC: public StoreIC { |
StrictModeFlag strict_mode, |
Handle<JSObject> receiver, |
Handle<String> name); |
- virtual void UpdateMegamorphicCache(Map* map, String* name, Code* code) { } |
+ virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code) { } |
virtual Handle<Code> megamorphic_stub() { |
return isolate()->builtins()->KeyedStoreIC_Generic(); |