Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index bccc139454237a994253f78b64879995ef3b6cb3..80be94cb3e0b154871263dff2e0e0bf34028611a 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -2878,7 +2878,7 @@ Handle<Code> LoadStubCompiler::CompileLoadNonexistent( |
__ Ret(); |
// Return the generated code. |
- return GetCode(Code::HANDLER_FRAGMENT, Code::NONEXISTENT, name); |
+ return GetCode(kind(), Code::NONEXISTENT, name); |
} |
@@ -2974,7 +2974,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal( |
__ Ret(); |
// Return the generated code. |
- return GetCode(Code::IC_FRAGMENT, Code::NORMAL, name); |
+ return GetICCode(kind(), Code::NORMAL, name); |
} |
@@ -3002,7 +3002,7 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadElement( |
__ Jump(ic, RelocInfo::CODE_TARGET); |
// Return the generated code. |
- return GetCode(Code::IC_FRAGMENT, Code::NORMAL, factory()->empty_string()); |
+ return GetICCode(kind(), Code::NORMAL, factory()->empty_string()); |
} |
@@ -3035,7 +3035,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); |
} |