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

Unified Diff: src/deoptimizer.h

Issue 1055453006: Materialize booleans in the turbofan deoptimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index 25e96f2b63be6a1983571cf62a82871ee150bc67..9ad20d91915eb6ee71989380cdd4e4a81de12aee 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -755,25 +755,27 @@ class TranslationIterator BASE_EMBEDDED {
};
-#define TRANSLATION_OPCODE_LIST(V) \
- V(BEGIN) \
- V(JS_FRAME) \
- V(CONSTRUCT_STUB_FRAME) \
- V(GETTER_STUB_FRAME) \
- V(SETTER_STUB_FRAME) \
- V(ARGUMENTS_ADAPTOR_FRAME) \
- V(COMPILED_STUB_FRAME) \
- V(DUPLICATED_OBJECT) \
- V(ARGUMENTS_OBJECT) \
- V(CAPTURED_OBJECT) \
- V(REGISTER) \
- V(INT32_REGISTER) \
- V(UINT32_REGISTER) \
- V(DOUBLE_REGISTER) \
- V(STACK_SLOT) \
- V(INT32_STACK_SLOT) \
- V(UINT32_STACK_SLOT) \
- V(DOUBLE_STACK_SLOT) \
+#define TRANSLATION_OPCODE_LIST(V) \
+ V(BEGIN) \
+ V(JS_FRAME) \
+ V(CONSTRUCT_STUB_FRAME) \
+ V(GETTER_STUB_FRAME) \
+ V(SETTER_STUB_FRAME) \
+ V(ARGUMENTS_ADAPTOR_FRAME) \
+ V(COMPILED_STUB_FRAME) \
+ V(DUPLICATED_OBJECT) \
+ V(ARGUMENTS_OBJECT) \
+ V(CAPTURED_OBJECT) \
+ V(REGISTER) \
+ V(INT32_REGISTER) \
+ V(UINT32_REGISTER) \
+ V(BOOL_REGISTER) \
+ V(DOUBLE_REGISTER) \
+ V(STACK_SLOT) \
+ V(INT32_STACK_SLOT) \
+ V(UINT32_STACK_SLOT) \
+ V(BOOL_STACK_SLOT) \
+ V(DOUBLE_STACK_SLOT) \
V(LITERAL)
@@ -811,10 +813,12 @@ class Translation BASE_EMBEDDED {
void StoreRegister(Register reg);
void StoreInt32Register(Register reg);
void StoreUint32Register(Register reg);
+ void StoreBoolRegister(Register reg);
void StoreDoubleRegister(DoubleRegister reg);
void StoreStackSlot(int index);
void StoreInt32StackSlot(int index);
void StoreUint32StackSlot(int index);
+ void StoreBoolStackSlot(int index);
void StoreDoubleStackSlot(int index);
void StoreLiteral(int literal_id);
void StoreArgumentsObject(bool args_known, int args_index, int args_length);
@@ -844,6 +848,7 @@ class SlotRef BASE_EMBEDDED {
TAGGED,
INT32,
UINT32,
+ BOOLBIT,
DOUBLE,
LITERAL,
DEFERRED_OBJECT, // Object captured by the escape analysis.
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698