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

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: rebased 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
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 const String* left_ident, 655 const String* left_ident,
656 intptr_t left_pos); 656 intptr_t left_pos);
657 AstNode* InsertClosureCallNodes(AstNode* condition); 657 AstNode* InsertClosureCallNodes(AstNode* condition);
658 658
659 ConstructorCallNode* CreateConstructorCallNode( 659 ConstructorCallNode* CreateConstructorCallNode(
660 intptr_t token_pos, 660 intptr_t token_pos,
661 const AbstractTypeArguments& type_arguments, 661 const AbstractTypeArguments& type_arguments,
662 const Function& constructor, 662 const Function& constructor,
663 ArgumentListNode* arguments); 663 ArgumentListNode* arguments);
664 664
665 void AddEqualityNullCheck();
666
665 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); 667 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos);
666 668
667 Isolate* isolate() const { return isolate_; } 669 Isolate* isolate() const { return isolate_; }
668 670
669 Isolate* isolate_; // Cached current isolate. 671 Isolate* isolate_; // Cached current isolate.
670 672
671 Script& script_; 673 Script& script_;
672 TokenStream::Iterator tokens_iterator_; 674 TokenStream::Iterator tokens_iterator_;
673 Token::Kind token_kind_; // Cached token kind for current token. 675 Token::Kind token_kind_; // Cached token kind for current token.
674 Block* current_block_; 676 Block* current_block_;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 intptr_t last_used_try_index_; 717 intptr_t last_used_try_index_;
716 718
717 bool unregister_pending_function_; 719 bool unregister_pending_function_;
718 720
719 DISALLOW_COPY_AND_ASSIGN(Parser); 721 DISALLOW_COPY_AND_ASSIGN(Parser);
720 }; 722 };
721 723
722 } // namespace dart 724 } // namespace dart
723 725
724 #endif // VM_PARSER_H_ 726 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698