Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 5af2795f0482d1be4a7ab43c9a436ae0cfc0955c..6121f69dc4fe938d7962608a8d3946a064b91121 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2101,7 +2101,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
ASSERT(ToRegister(instr->result()).is(rax)); |
__ Move(rcx, instr->name()); |
- Handle<Code> ic(isolate()->builtins()->builtin(Builtins::LoadIC_Initialize)); |
+ Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2227,8 +2227,7 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
ASSERT(ToRegister(instr->object()).is(rdx)); |
ASSERT(ToRegister(instr->key()).is(rax)); |
- Handle<Code> ic(isolate()->builtins()->builtin( |
- Builtins::KeyedLoadIC_Initialize)); |
+ Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2782,8 +2781,7 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
ASSERT(ToRegister(instr->InputAt(0)).is(rdi)); |
ASSERT(ToRegister(instr->result()).is(rax)); |
- Handle<Code> builtin(isolate()->builtins()->builtin( |
- Builtins::JSConstructCall)); |
+ Handle<Code> builtin = isolate()->builtins()->JSConstructCall(); |
__ Set(rax, instr->arity()); |
CallCode(builtin, RelocInfo::CONSTRUCT_CALL, instr); |
} |
@@ -2829,9 +2827,9 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
ASSERT(ToRegister(instr->value()).is(rax)); |
__ Move(rcx, instr->hydrogen()->name()); |
- Handle<Code> ic(isolate()->builtins()->builtin( |
- info_->is_strict() ? Builtins::StoreIC_Initialize_Strict |
- : Builtins::StoreIC_Initialize)); |
+ Handle<Code> ic = info_->is_strict() |
+ ? isolate()->builtins()->StoreIC_Initialize_Strict() |
+ : isolate()->builtins()->StoreIC_Initialize(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2900,9 +2898,9 @@ void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
ASSERT(ToRegister(instr->key()).is(rcx)); |
ASSERT(ToRegister(instr->value()).is(rax)); |
- Handle<Code> ic(isolate()->builtins()->builtin( |
- info_->is_strict() ? Builtins::KeyedStoreIC_Initialize_Strict |
- : Builtins::KeyedStoreIC_Initialize)); |
+ Handle<Code> ic = info_->is_strict() |
+ ? isolate()->builtins()->KeyedStoreIC_Initialize_Strict() |
+ : isolate()->builtins()->KeyedStoreIC_Initialize(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |