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

Unified Diff: src/compiler/raw-machine-assembler.h

Issue 1391333003: Adding support for multiple returns in compiled functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: formatting Created 5 years, 2 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/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index 291f69f3b0a8d15966881b388d4f9414ece3b4cb..d084bd482bc5e9b5d32d3c64348d10694d4f5715 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -536,6 +536,8 @@ class RawMachineAssembler {
void Switch(Node* index, Label* default_label, int32_t* case_values,
Label** case_labels, size_t case_count);
void Return(Node* value);
+ void Return(Node* v1, Node* v2);
+ void Return(Node* v1, Node* v2, Node* v3);
void Bind(Label* label);
void Deoptimize(Node* state);

Powered by Google App Engine
This is Rietveld 408576698