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

Unified Diff: src/a64/macro-assembler-a64.cc

Issue 152823003: A64: Synchronize with r16489. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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 | « src/a64/macro-assembler-a64.h ('k') | src/a64/simulator-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/macro-assembler-a64.cc
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc
index ec4d0f7fa673712536f2d6d78ef54904f8635678..96a746b8c01977032c79d9664b05abf3692518c1 100644
--- a/src/a64/macro-assembler-a64.cc
+++ b/src/a64/macro-assembler-a64.cc
@@ -1268,7 +1268,6 @@ void MacroAssembler::CallApiFunctionAndReturn(ExternalReference function,
Register thunk_last_arg,
int stack_space,
int spill_offset,
- bool returns_handle,
int return_value_offset_from_fp) {
ASM_LOCATION("CallApiFunctionAndReturn");
ExternalReference next_address =
@@ -1352,14 +1351,6 @@ void MacroAssembler::CallApiFunctionAndReturn(ExternalReference function,
Label result_is_not_null;
Label return_value_loaded;
- if (returns_handle) {
- Label load_return_value;
- Cbz(x0, &load_return_value);
- // Dereference returned value.
- Ldr(x0, MemOperand(x0));
- B(&return_value_loaded);
- Bind(&load_return_value);
- }
// load value from ReturnValue
Ldr(x0, MemOperand(fp, return_value_offset_from_fp * kPointerSize));
Bind(&return_value_loaded);
« no previous file with comments | « src/a64/macro-assembler-a64.h ('k') | src/a64/simulator-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698