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

Unified Diff: src/hydrogen.h

Issue 15993014: hydrogen: split switch optimization code into multiple functions (Closed) Base URL: gh:v8/v8.git@master
Patch Set: Created 7 years, 6 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/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 6163e1ef04637e7b5c66c3baaa7f9ba1eb142827..7faa9f823946930e332e477f221c4bbd6f29811e 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1691,6 +1691,9 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
Property* expr,
Handle<Map> map);
+ // Emit clause bodies and glue them together
+ void GlueSwitchClauses(SwitchStatement* stmt, ZoneList<HBasicBlock*>* bodies);
+
void AddCheckMap(HValue* object, Handle<Map> map);
void AddCheckMapsWithTransitions(HValue* object,
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698