Index: src/ic.h |
=================================================================== |
--- src/ic.h (revision 3546) |
+++ src/ic.h (working copy) |
@@ -280,6 +280,7 @@ |
static void GenerateInitialize(MacroAssembler* masm); |
static void GeneratePreMonomorphic(MacroAssembler* masm); |
static void GenerateGeneric(MacroAssembler* masm); |
+ static void GenerateString(MacroAssembler* masm); |
// Generators for external array types. See objects.h. |
// These are similar to the generic IC; they optimize the case of |
@@ -313,6 +314,9 @@ |
static Code* pre_monomorphic_stub() { |
return Builtins::builtin(Builtins::KeyedLoadIC_PreMonomorphic); |
} |
+ static Code* string_stub() { |
+ return Builtins::builtin(Builtins::KeyedLoadIC_String); |
+ } |
static Code* external_array_stub(JSObject::ElementsKind elements_kind); |
static void Clear(Address address, Code* target); |