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

Unified Diff: src/compiler/bytecode-graph-builder.h

Issue 2309733002: [turbofan] Improve graph for JumpIfTrue/False and JumpIfToBooleanTrue/False. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-graph-builder.h
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h
index 41bccfb54d49e97ef376cb90daf3744da6177cfa..f8cb18fb720ca27a2ec2aa14ff9e7fa516325814 100644
--- a/src/compiler/bytecode-graph-builder.h
+++ b/src/compiler/bytecode-graph-builder.h
@@ -147,9 +147,13 @@ class BytecodeGraphBuilder {
// Control flow plumbing.
void BuildJump();
- void BuildConditionalJump(Node* condition);
+ void BuildJumpIf(Node* condition);
+ void BuildJumpIfNot(Node* condition);
void BuildJumpIfEqual(Node* comperand);
- void BuildJumpIfToBooleanEqual(Node* boolean_comperand);
+ void BuildJumpIfTrue();
+ void BuildJumpIfFalse();
+ void BuildJumpIfToBooleanTrue();
+ void BuildJumpIfToBooleanFalse();
void BuildJumpIfNotHole();
// Simulates control flow by forward-propagating environments.
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698