Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Side by Side Diff: runtime/vm/parser.h

Issue 22425006: Fix equality of implicit closures in the Dart VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 Array& default_parameter_values); 429 Array& default_parameter_values);
430 SequenceNode* ParseFunc(const Function& func, 430 SequenceNode* ParseFunc(const Function& func,
431 Array& default_parameter_values); 431 Array& default_parameter_values);
432 432
433 void ParseNativeFunctionBlock(const ParamList* params, const Function& func); 433 void ParseNativeFunctionBlock(const ParamList* params, const Function& func);
434 434
435 SequenceNode* ParseInstanceGetter(const Function& func); 435 SequenceNode* ParseInstanceGetter(const Function& func);
436 SequenceNode* ParseInstanceSetter(const Function& func); 436 SequenceNode* ParseInstanceSetter(const Function& func);
437 SequenceNode* ParseStaticFinalGetter(const Function& func); 437 SequenceNode* ParseStaticFinalGetter(const Function& func);
438 SequenceNode* ParseMethodExtractor(const Function& func); 438 SequenceNode* ParseMethodExtractor(const Function& func);
439 SequenceNode* ParseClosureEqualsFunction(const Function& func);
440 SequenceNode* ParseClosureHashCodeFunction(const Function& func);
439 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func, 441 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func,
440 Array& default_values); 442 Array& default_values);
441 SequenceNode* ParseInvokeFieldDispatcher(const Function& func, 443 SequenceNode* ParseInvokeFieldDispatcher(const Function& func,
442 Array& default_values); 444 Array& default_values);
443 void BuildDispatcherScope(const Function& func, 445 void BuildDispatcherScope(const Function& func,
444 const ArgumentsDescriptor& desc, 446 const ArgumentsDescriptor& desc,
445 Array& default_values); 447 Array& default_values);
446 448
447 void ChainNewBlock(LocalScope* outer_scope); 449 void ChainNewBlock(LocalScope* outer_scope);
448 void OpenBlock(); 450 void OpenBlock();
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 // Each try in this function gets its own try index. 691 // Each try in this function gets its own try index.
690 intptr_t AllocateTryIndex() { return ++last_used_try_index_; } 692 intptr_t AllocateTryIndex() { return ++last_used_try_index_; }
691 intptr_t last_used_try_index_; 693 intptr_t last_used_try_index_;
692 694
693 DISALLOW_COPY_AND_ASSIGN(Parser); 695 DISALLOW_COPY_AND_ASSIGN(Parser);
694 }; 696 };
695 697
696 } // namespace dart 698 } // namespace dart
697 699
698 #endif // VM_PARSER_H_ 700 #endif // VM_PARSER_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698