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

Unified Diff: src/deoptimizer.h

Issue 1969423002: [Interpreter] Remove InterpreterExitTrampoline and replace with returning to the entry trampoline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo on Arm64 Created 4 years, 7 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/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index ae65e0070ffeb46345c0b19a7cd8da54b2e62c65..cff25538f61b423b728370fef70130356f26dc40 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -402,6 +402,22 @@ class Deoptimizer : public Malloced {
public:
enum BailoutType { EAGER, LAZY, SOFT, kLastBailoutType = SOFT };
+ enum class BailoutState {
+ NO_REGISTERS,
+ TOS_REGISTER,
+ };
+
+ static const char* BailoutStateToString(BailoutState state) {
+ switch (state) {
+ case BailoutState::NO_REGISTERS:
+ return "NO_REGISTERS";
+ case BailoutState::TOS_REGISTER:
+ return "TOS_REGISTER";
+ }
+ UNREACHABLE();
+ return NULL;
Michael Starzinger 2016/05/17 14:41:53 nit: s/NULL/nullptr/
rmcilroy 2016/05/17 15:20:05 Done.
+ }
+
#define DEOPT_MESSAGES_CONSTANTS(C, T) C,
enum DeoptReason {
DEOPT_MESSAGES_LIST(DEOPT_MESSAGES_CONSTANTS) kLastDeoptReason
« no previous file with comments | « src/builtins.h ('k') | src/deoptimizer.cc » ('j') | src/full-codegen/full-codegen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698