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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « src/deoptimizer.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 void VisitTypeof(UnaryOperation* expr); 2253 void VisitTypeof(UnaryOperation* expr);
2254 void VisitNot(UnaryOperation* expr); 2254 void VisitNot(UnaryOperation* expr);
2255 2255
2256 void VisitComma(BinaryOperation* expr); 2256 void VisitComma(BinaryOperation* expr);
2257 void VisitLogicalExpression(BinaryOperation* expr); 2257 void VisitLogicalExpression(BinaryOperation* expr);
2258 void VisitArithmeticExpression(BinaryOperation* expr); 2258 void VisitArithmeticExpression(BinaryOperation* expr);
2259 2259
2260 void VisitLoopBody(IterationStatement* stmt, 2260 void VisitLoopBody(IterationStatement* stmt,
2261 HBasicBlock* loop_entry); 2261 HBasicBlock* loop_entry);
2262 2262
2263 void BuildForInBody(ForInStatement* stmt, Variable* each_var,
2264 HValue* enumerable);
2265
2263 // Create a back edge in the flow graph. body_exit is the predecessor 2266 // Create a back edge in the flow graph. body_exit is the predecessor
2264 // block and loop_entry is the successor block. loop_successor is the 2267 // block and loop_entry is the successor block. loop_successor is the
2265 // block where control flow exits the loop normally (e.g., via failure of 2268 // block where control flow exits the loop normally (e.g., via failure of
2266 // the condition) and break_block is the block where control flow breaks 2269 // the condition) and break_block is the block where control flow breaks
2267 // from the loop. All blocks except loop_entry can be NULL. The return 2270 // from the loop. All blocks except loop_entry can be NULL. The return
2268 // value is the new successor block which is the join of loop_successor 2271 // value is the new successor block which is the join of loop_successor
2269 // and break_block, or NULL. 2272 // and break_block, or NULL.
2270 HBasicBlock* CreateLoop(IterationStatement* statement, 2273 HBasicBlock* CreateLoop(IterationStatement* statement,
2271 HBasicBlock* loop_entry, 2274 HBasicBlock* loop_entry,
2272 HBasicBlock* body_exit, 2275 HBasicBlock* body_exit,
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
3037 } 3040 }
3038 3041
3039 private: 3042 private:
3040 HGraphBuilder* builder_; 3043 HGraphBuilder* builder_;
3041 }; 3044 };
3042 3045
3043 3046
3044 } } // namespace v8::internal 3047 } } // namespace v8::internal
3045 3048
3046 #endif // V8_HYDROGEN_H_ 3049 #endif // V8_HYDROGEN_H_
OLDNEW
« 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