| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index f9f6eea9d0a4b04fa829c91686887ace5ad81a1a..94d09d2fee11e08210aa940652b9668f5fecba9b 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -2664,7 +2664,7 @@ void BinaryOpICWithAllocationSiteStub::Generate(MacroAssembler* masm) {
|
| // Load rcx with the allocation site. We stick an undefined dummy value here
|
| // and replace it with the real allocation site later when we instantiate this
|
| // stub in BinaryOpICWithAllocationSiteStub::GetCodeCopyFromTemplate().
|
| - __ Move(rcx, handle(isolate()->heap()->undefined_value()));
|
| + __ Move(rcx, isolate()->factory()->undefined_value());
|
|
|
| // Make sure that we actually patched the allocation site.
|
| if (FLAG_debug_code) {
|
| @@ -3962,9 +3962,6 @@ static void CreateArrayDispatchOneArgument(MacroAssembler* masm,
|
| // rdi - constructor?
|
| // rsp[0] - return address
|
| // rsp[8] - last argument
|
| - Handle<Object> undefined_sentinel(
|
| - masm->isolate()->heap()->undefined_value(),
|
| - masm->isolate());
|
|
|
| Label normal_sequence;
|
| if (mode == DONT_OVERRIDE) {
|
|
|