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_PREPARSER_H | 5 #ifndef V8_PREPARSER_H |
6 #define V8_PREPARSER_H | 6 #define V8_PREPARSER_H |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
| 10 #include "src/bailout-reason.h" |
10 #include "src/func-name-inferrer.h" | 11 #include "src/func-name-inferrer.h" |
11 #include "src/hashmap.h" | 12 #include "src/hashmap.h" |
12 #include "src/scanner.h" | 13 #include "src/scanner.h" |
13 #include "src/scopes.h" | 14 #include "src/scopes.h" |
14 #include "src/token.h" | 15 #include "src/token.h" |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 | 19 |
19 // Common base class shared between parser and pre-parser. Traits encapsulate | 20 // Common base class shared between parser and pre-parser. Traits encapsulate |
(...skipping 2808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2828 DCHECK(IsAccessorAccessorConflict(old_type, type)); | 2829 DCHECK(IsAccessorAccessorConflict(old_type, type)); |
2829 // Both accessors of the same type. | 2830 // Both accessors of the same type. |
2830 parser()->ReportMessage("accessor_get_set"); | 2831 parser()->ReportMessage("accessor_get_set"); |
2831 } | 2832 } |
2832 *ok = false; | 2833 *ok = false; |
2833 } | 2834 } |
2834 } | 2835 } |
2835 } } // v8::internal | 2836 } } // v8::internal |
2836 | 2837 |
2837 #endif // V8_PREPARSER_H | 2838 #endif // V8_PREPARSER_H |
OLD | NEW |