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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 2457393003: Thread decls-list through Declaration (Closed)
Patch Set: rename Created 4 years, 1 month 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
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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast-type-bounds.h" 10 #include "src/ast/ast-type-bounds.h"
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after
2109 HOsrBuilder* osr() const { return osr_; } 2109 HOsrBuilder* osr() const { return osr_; }
2110 2110
2111 void Bailout(BailoutReason reason); 2111 void Bailout(BailoutReason reason);
2112 2112
2113 HBasicBlock* CreateJoin(HBasicBlock* first, 2113 HBasicBlock* CreateJoin(HBasicBlock* first,
2114 HBasicBlock* second, 2114 HBasicBlock* second,
2115 BailoutId join_id); 2115 BailoutId join_id);
2116 2116
2117 FunctionState* function_state() const { return function_state_; } 2117 FunctionState* function_state() const { return function_state_; }
2118 2118
2119 void VisitDeclarations(ZoneList<Declaration*>* declarations); 2119 void VisitDeclarations(Declaration::List* declarations);
2120 2120
2121 AstTypeBounds* bounds() { return &bounds_; } 2121 AstTypeBounds* bounds() { return &bounds_; }
2122 2122
2123 void* operator new(size_t size, Zone* zone) { return zone->New(size); } 2123 void* operator new(size_t size, Zone* zone) { return zone->New(size); }
2124 void operator delete(void* pointer, Zone* zone) { } 2124 void operator delete(void* pointer, Zone* zone) { }
2125 void operator delete(void* pointer) { } 2125 void operator delete(void* pointer) { }
2126 2126
2127 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); 2127 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
2128 2128
2129 protected: 2129 protected:
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
3006 } 3006 }
3007 3007
3008 private: 3008 private:
3009 HOptimizedGraphBuilder* builder_; 3009 HOptimizedGraphBuilder* builder_;
3010 }; 3010 };
3011 3011
3012 } // namespace internal 3012 } // namespace internal
3013 } // namespace v8 3013 } // namespace v8
3014 3014
3015 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3015 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698