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

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

Issue 24203004: Dart VM: Simplify code generation for equality operators. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed single stepping, added debugger test Created 7 years, 2 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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 const String* left_ident, 652 const String* left_ident,
653 intptr_t left_pos); 653 intptr_t left_pos);
654 AstNode* InsertClosureCallNodes(AstNode* condition); 654 AstNode* InsertClosureCallNodes(AstNode* condition);
655 655
656 ConstructorCallNode* CreateConstructorCallNode( 656 ConstructorCallNode* CreateConstructorCallNode(
657 intptr_t token_pos, 657 intptr_t token_pos,
658 const AbstractTypeArguments& type_arguments, 658 const AbstractTypeArguments& type_arguments,
659 const Function& constructor, 659 const Function& constructor,
660 ArgumentListNode* arguments); 660 ArgumentListNode* arguments);
661 661
662 void AddEqualityNullCheck();
663
662 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); 664 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos);
663 665
664 Isolate* isolate() const { return isolate_; } 666 Isolate* isolate() const { return isolate_; }
665 667
666 Isolate* isolate_; // Cached current isolate. 668 Isolate* isolate_; // Cached current isolate.
667 669
668 Script& script_; 670 Script& script_;
669 TokenStream::Iterator tokens_iterator_; 671 TokenStream::Iterator tokens_iterator_;
670 Token::Kind token_kind_; // Cached token kind for current token. 672 Token::Kind token_kind_; // Cached token kind for current token.
671 Block* current_block_; 673 Block* current_block_;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 intptr_t last_used_try_index_; 714 intptr_t last_used_try_index_;
713 715
714 bool unregister_pending_function_; 716 bool unregister_pending_function_;
715 717
716 DISALLOW_COPY_AND_ASSIGN(Parser); 718 DISALLOW_COPY_AND_ASSIGN(Parser);
717 }; 719 };
718 720
719 } // namespace dart 721 } // namespace dart
720 722
721 #endif // VM_PARSER_H_ 723 #endif // VM_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698