| 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/bailout-reason.h" | 8 #include "src/bailout-reason.h" |
| 9 #include "src/expression-classifier.h" | 9 #include "src/expression-classifier.h" |
| 10 #include "src/func-name-inferrer.h" | 10 #include "src/func-name-inferrer.h" |
| (...skipping 4165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4176 } | 4176 } |
| 4177 if (has_seen_constructor_) { | 4177 if (has_seen_constructor_) { |
| 4178 this->parser()->ReportMessage(MessageTemplate::kDuplicateConstructor); | 4178 this->parser()->ReportMessage(MessageTemplate::kDuplicateConstructor); |
| 4179 *ok = false; | 4179 *ok = false; |
| 4180 return; | 4180 return; |
| 4181 } | 4181 } |
| 4182 has_seen_constructor_ = true; | 4182 has_seen_constructor_ = true; |
| 4183 return; | 4183 return; |
| 4184 } | 4184 } |
| 4185 } | 4185 } |
| 4186 } } // v8::internal | 4186 } // namespace internal |
| 4187 } // namespace v8 |
| 4187 | 4188 |
| 4188 #endif // V8_PREPARSER_H | 4189 #endif // V8_PREPARSER_H |
| OLD | NEW |