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

Unified Diff: src/hydrogen.h

Issue 1086333002: Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Just give up if null or undefined. 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/deoptimizer.h ('k') | 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 a4451d7a0891bc2a07d8b9f3117053b1c644886c..16d8aecd50b0c17f8b4b3b835780cb0fed39ca3c 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2260,6 +2260,9 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
void VisitLoopBody(IterationStatement* stmt,
HBasicBlock* loop_entry);
+ void BuildForInBody(ForInStatement* stmt, Variable* each_var,
+ HValue* enumerable);
+
// Create a back edge in the flow graph. body_exit is the predecessor
// block and loop_entry is the successor block. loop_successor is the
// block where control flow exits the loop normally (e.g., via failure of
« no previous file with comments | « src/deoptimizer.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698