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

Unified Diff: src/codegen.cc

Issue 201042: Win64 - Allow returning two values from a runtime function. (Closed)
Patch Set: Fixed typo. Created 11 years, 3 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
Index: src/codegen.cc
diff --git a/src/codegen.cc b/src/codegen.cc
index 8e516c0b04c5e06e5af4d9fc42e7c2a2b416b26a..9a00ae2b65d72f86c713b39aba80219251a5de43 100644
--- a/src/codegen.cc
+++ b/src/codegen.cc
@@ -517,7 +517,10 @@ const char* RuntimeStub::GetName() {
void RuntimeStub::Generate(MacroAssembler* masm) {
- masm->TailCallRuntime(ExternalReference(id_), num_arguments_);
+ Runtime::Function* f = Runtime::FunctionForId(id_);
+ masm->TailCallRuntime(ExternalReference(f),
+ num_arguments_,
+ f->result_size);
}

Powered by Google App Engine
This is Rietveld 408576698