| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 843005d506c033ef162ac7c8078cddcbe6a3f2a7..e3a92871d92fe494ebaedee1516915429dad6764 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -759,6 +759,14 @@ void NamedLoadHandlerCompiler::GenerateLoadField(
|
| }
|
|
|
|
|
| +void NamedLoadHandlerCompiler::GenerateLoadConstant(Register reg,
|
| + int constant_index) {
|
| + if (!reg.is(receiver())) __ movp(receiver(), reg);
|
| + LoadConstantStub stub(isolate(), constant_index);
|
| + GenerateTailCall(masm(), stub.GetCode());
|
| +}
|
| +
|
| +
|
| void NamedLoadHandlerCompiler::GenerateLoadCallback(
|
| Register reg, Handle<ExecutableAccessorInfo> callback) {
|
| // Insert additional parameters into the stack frame above return address.
|
|
|