Index: src/a64/stub-cache-a64.cc |
diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc |
index 291da65d44f4113e2c9ff9f226a766571238237a..71b2150e464810a3339a011f1b509460c7145656 100644 |
--- a/src/a64/stub-cache-a64.cc |
+++ b/src/a64/stub-cache-a64.cc |
@@ -125,7 +125,7 @@ static void ProbeTable(Isolate* isolate, |
__ Add(scratch3, offset, Operand(offset, LSL, 1)); |
// Calculate the base address of the entry. |
- __ Mov(scratch, Operand(key_offset)); |
+ __ Mov(scratch, key_offset); |
__ Add(scratch, scratch, Operand(scratch3, LSL, kPointerSizeLog2)); |
// Check that the key in the entry matches the name. |
@@ -761,7 +761,7 @@ void StubCompiler::GenerateFastApiCall(MacroAssembler* masm, |
ExternalReference ref = ExternalReference(&fun, |
ExternalReference::DIRECT_API_CALL, |
masm->isolate()); |
- __ Mov(api_function_address, Operand(ref)); |
+ __ Mov(api_function_address, ref); |
// Jump to stub. |
CallApiFunctionStub stub(is_store, call_data_undefined, argc); |
@@ -1022,7 +1022,7 @@ void LoadStubCompiler::GenerateLoadCallback( |
// together. Can we use scratch1() here? |
__ LoadRoot(scratch4(), Heap::kUndefinedValueRootIndex); |
__ Push(scratch3(), scratch4()); |
- __ Mov(scratch3(), Operand(ExternalReference::isolate_address(isolate()))); |
+ __ Mov(scratch3(), ExternalReference::isolate_address(isolate())); |
__ Push(scratch4(), scratch3(), reg, name()); |
Register args_addr = scratch2(); |
@@ -1044,7 +1044,7 @@ void LoadStubCompiler::GenerateLoadCallback( |
ApiFunction fun(getter_address); |
ExternalReference::Type type = ExternalReference::DIRECT_GETTER_CALL; |
ExternalReference ref = ExternalReference(&fun, type, isolate()); |
- __ Mov(getter_address_reg, Operand(ref)); |
+ __ Mov(getter_address_reg, ref); |
CallApiGetterStub stub; |
__ TailCallStub(&stub); |