OLD | NEW |
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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 class P7, class P8, class P9> | 1326 class P7, class P8, class P9> |
1327 I* New(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) { | 1327 I* New(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) { |
1328 return I::New(isolate(), zone(), context(), p1, p2, p3, p4, p5, p6, p7, p8, | 1328 return I::New(isolate(), zone(), context(), p1, p2, p3, p4, p5, p6, p7, p8, |
1329 p9); | 1329 p9); |
1330 } | 1330 } |
1331 | 1331 |
1332 template <class I, class P1, class P2, class P3, class P4, class P5, class P6, | 1332 template <class I, class P1, class P2, class P3, class P4, class P5, class P6, |
1333 class P7, class P8, class P9> | 1333 class P7, class P8, class P9> |
1334 HInstruction* AddUncasted(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, | 1334 HInstruction* AddUncasted(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, |
1335 P8 p8, P9 p9) { | 1335 P8 p8, P9 p9) { |
1336 return AddInstruction(NewUncasted<I>(p1, p2, p3, p4, p5, p6, p7, p8, p8)); | 1336 return AddInstruction(NewUncasted<I>(p1, p2, p3, p4, p5, p6, p7, p8, p9)); |
1337 } | 1337 } |
1338 | 1338 |
1339 template <class I, class P1, class P2, class P3, class P4, class P5, class P6, | 1339 template <class I, class P1, class P2, class P3, class P4, class P5, class P6, |
1340 class P7, class P8, class P9> | 1340 class P7, class P8, class P9> |
1341 I* Add(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) { | 1341 I* Add(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) { |
1342 return AddInstructionTyped(New<I>(p1, p2, p3, p4, p5, p6, p7, p8, p9)); | 1342 return AddInstructionTyped(New<I>(p1, p2, p3, p4, p5, p6, p7, p8, p9)); |
1343 } | 1343 } |
1344 | 1344 |
1345 void AddSimulate(BailoutId id, RemovableSimulate removable = FIXED_SIMULATE); | 1345 void AddSimulate(BailoutId id, RemovableSimulate removable = FIXED_SIMULATE); |
1346 | 1346 |
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3117 } | 3117 } |
3118 | 3118 |
3119 private: | 3119 private: |
3120 HOptimizedGraphBuilder* builder_; | 3120 HOptimizedGraphBuilder* builder_; |
3121 }; | 3121 }; |
3122 | 3122 |
3123 } // namespace internal | 3123 } // namespace internal |
3124 } // namespace v8 | 3124 } // namespace v8 |
3125 | 3125 |
3126 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3126 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |