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

Unified Diff: src/interpreter/bytecodes.h

Issue 1651133002: [interpreter] Move temporary register allocator into own file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ASAN fix. Created 4 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
Index: src/interpreter/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index 9793740bda9d3e189ec7fe965c736ba9e884f60e..87c31c2d713271c15d26148b89e7f7c58e690509 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -318,6 +318,9 @@ class Register {
static int MaxRegisterIndex();
static int MaxRegisterIndexForByteOperand();
+ // Returns an invalid register.
+ static Register invalid_value() { return Register(); }
+
// Returns the register for the function's closure object.
static Register function_closure();
bool is_function_closure() const;

Powered by Google App Engine
This is Rietveld 408576698