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

Unified Diff: src/interpreter/bytecodes.h

Issue 1469313002: [interpreter] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/interpreter/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index a142c1d739fada97da6320d55ee6dbe1fdb0e4f2..78a3b19cf7a7ca381e80f830033e8ff81fc2ba31 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -260,6 +260,10 @@ class Register {
static Register function_context();
bool is_function_context() const;
+ // Returns the register for the incoming new target value.
+ static Register new_target();
+ bool is_new_target() const;
+
static Register FromOperand(uint8_t operand);
uint8_t ToOperand() const;

Powered by Google App Engine
This is Rietveld 408576698