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_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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 } | 517 } |
518 | 518 |
519 Handle<SharedFunctionInfo> shared() const { return shared_; } | 519 Handle<SharedFunctionInfo> shared() const { return shared_; } |
520 int start_position() const { return start_position_; } | 520 int start_position() const { return start_position_; } |
521 | 521 |
522 private: | 522 private: |
523 Handle<SharedFunctionInfo> shared_; | 523 Handle<SharedFunctionInfo> shared_; |
524 int start_position_; | 524 int start_position_; |
525 }; | 525 }; |
526 | 526 |
527 int next_inline_id_; | |
528 ZoneList<InlinedFunctionInfo> inlined_functions_; | 527 ZoneList<InlinedFunctionInfo> inlined_functions_; |
| 528 ZoneList<int> inlining_id_to_function_id_; |
529 | 529 |
530 DISALLOW_COPY_AND_ASSIGN(HGraph); | 530 DISALLOW_COPY_AND_ASSIGN(HGraph); |
531 }; | 531 }; |
532 | 532 |
533 | 533 |
534 Zone* HBasicBlock::zone() const { return graph_->zone(); } | 534 Zone* HBasicBlock::zone() const { return graph_->zone(); } |
535 | 535 |
536 | 536 |
537 // Type of stack frame an environment might refer to. | 537 // Type of stack frame an environment might refer to. |
538 enum FrameType { | 538 enum FrameType { |
(...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2905 } | 2905 } |
2906 | 2906 |
2907 private: | 2907 private: |
2908 HGraphBuilder* builder_; | 2908 HGraphBuilder* builder_; |
2909 }; | 2909 }; |
2910 | 2910 |
2911 | 2911 |
2912 } } // namespace v8::internal | 2912 } } // namespace v8::internal |
2913 | 2913 |
2914 #endif // V8_HYDROGEN_H_ | 2914 #endif // V8_HYDROGEN_H_ |
OLD | NEW |