Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 154f18e9c46c573e319ad5c894530f48bf4ea85b..af433a4242c0d38187a29b6e9c194a3246f2027f 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2946,7 +2946,7 @@ Handle<Code> LoadStubCompiler::CompileLoadNonexistent( |
__ ret(0); |
// Return the generated code. |
- return GetCode(Code::HANDLER_FRAGMENT, Code::NONEXISTENT, name); |
+ return GetCode(kind(), Code::NONEXISTENT, name); |
} |
@@ -3046,7 +3046,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal( |
__ ret(0); |
// Return the generated code. |
- return GetCode(Code::IC_FRAGMENT, Code::NORMAL, name); |
+ return GetICCode(kind(), Code::NORMAL, name); |
} |
@@ -3074,7 +3074,7 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadElement( |
GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
// Return the generated code. |
- return GetCode(Code::IC_FRAGMENT, Code::NORMAL, factory()->empty_string()); |
+ return GetICCode(kind(), Code::NORMAL, factory()->empty_string()); |
} |
@@ -3105,7 +3105,7 @@ Handle<Code> BaseLoadStubCompiler::CompilePolymorphicIC( |
// Return the generated code. |
InlineCacheState state = |
receiver_maps->length() > 1 ? POLYMORPHIC : MONOMORPHIC; |
- return GetCode(Code::IC_FRAGMENT, type, name, state); |
+ return GetICCode(kind(), type, name, state); |
} |