Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 3f33089dae088358facc71bf6030e1a89614fad8..19e5b357014c3b04290774604ba1c63a4b825e8b 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -3653,8 +3653,8 @@ void LCodeGen::DoLoadKeyedFixed(LLoadKeyedFixed* instr) { |
void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
ASSERT(ToRegister(instr->context()).is(cp)); |
- ASSERT(ToRegister(instr->object()).is(KeyedLoadIC::ReceiverRegister())); |
- ASSERT(ToRegister(instr->key()).is(KeyedLoadIC::NameRegister())); |
+ ASSERT(ToRegister(instr->object()).is(LoadIC::ReceiverRegister())); |
+ ASSERT(ToRegister(instr->key()).is(LoadIC::NameRegister())); |
Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
@@ -3706,7 +3706,6 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
ASSERT(ToRegister(instr->context()).is(cp)); |
// LoadIC expects name and receiver in registers. |
ASSERT(ToRegister(instr->object()).is(LoadIC::ReceiverRegister())); |
- ASSERT(ToRegister(instr->object()).is(x0)); |
__ Mov(LoadIC::NameRegister(), Operand(instr->name())); |
Handle<Code> ic = LoadIC::initialize_stub(isolate(), NOT_CONTEXTUAL); |