| 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_AST_H_ | 5 #ifndef V8_AST_H_ |
| 6 #define V8_AST_H_ | 6 #define V8_AST_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1317 | 1317 |
| 1318 private: | 1318 private: |
| 1319 Block* finally_block_; | 1319 Block* finally_block_; |
| 1320 }; | 1320 }; |
| 1321 | 1321 |
| 1322 | 1322 |
| 1323 class DebuggerStatement V8_FINAL : public Statement { | 1323 class DebuggerStatement V8_FINAL : public Statement { |
| 1324 public: | 1324 public: |
| 1325 DECLARE_NODE_TYPE(DebuggerStatement) | 1325 DECLARE_NODE_TYPE(DebuggerStatement) |
| 1326 | 1326 |
| 1327 BailoutId DebugBreakId() const { return debugger_id_; } |
| 1328 |
| 1327 protected: | 1329 protected: |
| 1328 explicit DebuggerStatement(Zone* zone, int pos): Statement(zone, pos) {} | 1330 explicit DebuggerStatement(Zone* zone, int pos) |
| 1331 : Statement(zone, pos), debugger_id_(GetNextId(zone)) {} |
| 1332 |
| 1333 private: |
| 1334 const BailoutId debugger_id_; |
| 1329 }; | 1335 }; |
| 1330 | 1336 |
| 1331 | 1337 |
| 1332 class EmptyStatement V8_FINAL : public Statement { | 1338 class EmptyStatement V8_FINAL : public Statement { |
| 1333 public: | 1339 public: |
| 1334 DECLARE_NODE_TYPE(EmptyStatement) | 1340 DECLARE_NODE_TYPE(EmptyStatement) |
| 1335 | 1341 |
| 1336 protected: | 1342 protected: |
| 1337 explicit EmptyStatement(Zone* zone, int pos): Statement(zone, pos) {} | 1343 explicit EmptyStatement(Zone* zone, int pos): Statement(zone, pos) {} |
| 1338 }; | 1344 }; |
| (...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3506 private: | 3512 private: |
| 3507 Zone* zone_; | 3513 Zone* zone_; |
| 3508 Visitor visitor_; | 3514 Visitor visitor_; |
| 3509 AstValueFactory* ast_value_factory_; | 3515 AstValueFactory* ast_value_factory_; |
| 3510 }; | 3516 }; |
| 3511 | 3517 |
| 3512 | 3518 |
| 3513 } } // namespace v8::internal | 3519 } } // namespace v8::internal |
| 3514 | 3520 |
| 3515 #endif // V8_AST_H_ | 3521 #endif // V8_AST_H_ |
| OLD | NEW |