| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_PARSER_H_ | 5 #ifndef VM_PARSER_H_ |
| 6 #define VM_PARSER_H_ | 6 #define VM_PARSER_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 | 9 |
| 10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 443 |
| 444 SequenceNode* ParseInstanceGetter(const Function& func); | 444 SequenceNode* ParseInstanceGetter(const Function& func); |
| 445 SequenceNode* ParseInstanceSetter(const Function& func); | 445 SequenceNode* ParseInstanceSetter(const Function& func); |
| 446 SequenceNode* ParseStaticFinalGetter(const Function& func); | 446 SequenceNode* ParseStaticFinalGetter(const Function& func); |
| 447 SequenceNode* ParseStaticInitializer(const Function& func); | 447 SequenceNode* ParseStaticInitializer(const Function& func); |
| 448 SequenceNode* ParseMethodExtractor(const Function& func); | 448 SequenceNode* ParseMethodExtractor(const Function& func); |
| 449 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func, | 449 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func, |
| 450 Array& default_values); | 450 Array& default_values); |
| 451 SequenceNode* ParseInvokeFieldDispatcher(const Function& func, | 451 SequenceNode* ParseInvokeFieldDispatcher(const Function& func, |
| 452 Array& default_values); | 452 Array& default_values); |
| 453 SequenceNode* ParseInvokeClosureDispatcher(const Function& func, | |
| 454 Array& default_values); | |
| 455 void BuildDispatcherScope(const Function& func, | 453 void BuildDispatcherScope(const Function& func, |
| 456 const ArgumentsDescriptor& desc, | 454 const ArgumentsDescriptor& desc, |
| 457 Array& default_values); | 455 Array& default_values); |
| 458 | 456 |
| 459 void ChainNewBlock(LocalScope* outer_scope); | 457 void ChainNewBlock(LocalScope* outer_scope); |
| 460 void OpenBlock(); | 458 void OpenBlock(); |
| 461 void OpenLoopBlock(); | 459 void OpenLoopBlock(); |
| 462 void OpenFunctionBlock(const Function& func); | 460 void OpenFunctionBlock(const Function& func); |
| 463 SequenceNode* CloseBlock(); | 461 SequenceNode* CloseBlock(); |
| 464 | 462 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 intptr_t last_used_try_index_; | 706 intptr_t last_used_try_index_; |
| 709 | 707 |
| 710 bool unregister_pending_function_; | 708 bool unregister_pending_function_; |
| 711 | 709 |
| 712 DISALLOW_COPY_AND_ASSIGN(Parser); | 710 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 713 }; | 711 }; |
| 714 | 712 |
| 715 } // namespace dart | 713 } // namespace dart |
| 716 | 714 |
| 717 #endif // VM_PARSER_H_ | 715 #endif // VM_PARSER_H_ |
| OLD | NEW |