Chromium Code Reviews| Index: src/a64/code-stubs-a64.cc |
| diff --git a/src/a64/code-stubs-a64.cc b/src/a64/code-stubs-a64.cc |
| index 1faa17e20878b740d589fae175098b1aa782aca0..cf9d9df563e62ffc5924e79f8ab5c39a9ee8f7e8 100644 |
| --- a/src/a64/code-stubs-a64.cc |
| +++ b/src/a64/code-stubs-a64.cc |
| @@ -3274,7 +3274,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
| __ JumpIfSmi(function, &non_function); |
| // Goto slow case if we do not have a function. |
| - __ JumpIfNotObjectType(function, x10, x10, JS_FUNCTION_TYPE, &slow); |
| + __ JumpIfNotObjectType(function, x10, type, JS_FUNCTION_TYPE, &slow); |
|
ulan
2014/02/10 19:28:41
The "type" register is read below in the slow case
|
| if (RecordCallTarget()) { |
| GenerateRecordCallTarget(masm); |