Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: src/a64/code-stubs-a64.cc

Issue 153893009: A64: Set function type correctly in CallFunctionStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/a64/macro-assembler-a64.cc » ('j') | src/a64/macro-assembler-a64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/a64/macro-assembler-a64.cc » ('j') | src/a64/macro-assembler-a64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698