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_COMPILER_H_ | 5 #ifndef V8_COMPILER_H_ |
6 #define V8_COMPILER_H_ | 6 #define V8_COMPILER_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "src/allocation.h" |
9 #include "ast.h" | 9 #include "src/ast.h" |
10 #include "zone.h" | 10 #include "src/zone.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 class ScriptData; | 15 class ScriptData; |
16 class HydrogenCodeStub; | 16 class HydrogenCodeStub; |
17 | 17 |
18 // ParseRestriction is used to restrict the set of valid statements in a | 18 // ParseRestriction is used to restrict the set of valid statements in a |
19 // unit of compilation. Restriction violations cause a syntax error. | 19 // unit of compilation. Restriction violations cause a syntax error. |
20 enum ParseRestriction { | 20 enum ParseRestriction { |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 unsigned info_zone_start_allocation_size_; | 693 unsigned info_zone_start_allocation_size_; |
694 ElapsedTimer timer_; | 694 ElapsedTimer timer_; |
695 | 695 |
696 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); | 696 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); |
697 }; | 697 }; |
698 | 698 |
699 | 699 |
700 } } // namespace v8::internal | 700 } } // namespace v8::internal |
701 | 701 |
702 #endif // V8_COMPILER_H_ | 702 #endif // V8_COMPILER_H_ |
OLD | NEW |