Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 48a9f7f7192c43b955bdd910b46e03def6bb39cd..6c0ea264e27b7d61e6192ab536bce42de0fc8930 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2209,8 +2209,8 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
// Name is always in r2. |
__ mov(r2, Operand(instr->name())); |
- Handle<Code> ic( |
- isolate()->builtins()->builtin(Builtins::LoadIC_Initialize)); |
+ Handle<Code> ic = |
+ Builtins::builtin(Builtins::LoadIC_Initialize, isolate()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2341,8 +2341,8 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
ASSERT(ToRegister(instr->object()).is(r1)); |
ASSERT(ToRegister(instr->key()).is(r0)); |
- Handle<Code> ic(isolate()->builtins()->builtin( |
- Builtins::KeyedLoadIC_Initialize)); |
+ Handle<Code> ic = |
+ Builtins::builtin(Builtins::KeyedLoadIC_Initialize, isolate()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2908,8 +2908,8 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
ASSERT(ToRegister(instr->InputAt(0)).is(r1)); |
ASSERT(ToRegister(instr->result()).is(r0)); |
- Handle<Code> builtin(isolate()->builtins()->builtin( |
- Builtins::JSConstructCall)); |
+ Handle<Code> builtin = |
+ Builtins::builtin(Builtins::JSConstructCall, isolate()); |
__ mov(r0, Operand(instr->arity())); |
CallCode(builtin, RelocInfo::CONSTRUCT_CALL, instr); |
} |
@@ -2958,9 +2958,10 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
// Name is always in r2. |
__ mov(r2, Operand(instr->name())); |
- Handle<Code> ic(isolate()->builtins()->builtin( |
- info_->is_strict() ? Builtins::StoreIC_Initialize_Strict |
- : Builtins::StoreIC_Initialize)); |
+ Builtins::Name builtin = info_->is_strict() |
+ ? Builtins::StoreIC_Initialize_Strict |
+ : Builtins::StoreIC_Initialize; |
+ Handle<Code> ic = Builtins::builtin(builtin, isolate()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -3013,9 +3014,10 @@ void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
ASSERT(ToRegister(instr->key()).is(r1)); |
ASSERT(ToRegister(instr->value()).is(r0)); |
- Handle<Code> ic(isolate()->builtins()->builtin( |
- info_->is_strict() ? Builtins::KeyedStoreIC_Initialize_Strict |
- : Builtins::KeyedStoreIC_Initialize)); |
+ Builtins::Name builtin = info_->is_strict() |
+ ? Builtins::KeyedStoreIC_Initialize_Strict |
+ : Builtins::KeyedStoreIC_Initialize; |
+ Handle<Code> ic = Builtins::builtin(builtin, isolate()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |