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

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

Issue 973843005: Fix VM bug with super-constructor invocation and mixins. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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 | « no previous file | 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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 GrowableArray<Field*>* initialized_fields); 458 GrowableArray<Field*>* initialized_fields);
459 AstNode* CheckDuplicateFieldInit( 459 AstNode* CheckDuplicateFieldInit(
460 intptr_t init_pos, 460 intptr_t init_pos,
461 GrowableArray<Field*>* initialized_fields, 461 GrowableArray<Field*>* initialized_fields,
462 AstNode* instance, 462 AstNode* instance,
463 Field* field, 463 Field* field,
464 AstNode* init_value); 464 AstNode* init_value);
465 void GenerateSuperConstructorCall(const Class& cls, 465 void GenerateSuperConstructorCall(const Class& cls,
466 intptr_t supercall_pos, 466 intptr_t supercall_pos,
467 LocalVariable* receiver, 467 LocalVariable* receiver,
468 AstNode* phase_parameter,
468 ArgumentListNode* forwarding_args); 469 ArgumentListNode* forwarding_args);
469 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 470 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
470 AstNode* ParseInitializer(const Class& cls, 471 AstNode* ParseInitializer(const Class& cls,
471 LocalVariable* receiver, 472 LocalVariable* receiver,
472 GrowableArray<Field*>* initialized_fields); 473 GrowableArray<Field*>* initialized_fields);
473 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 474 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
474 void ParseInitializers(const Class& cls, 475 void ParseInitializers(const Class& cls,
475 LocalVariable* receiver, 476 LocalVariable* receiver,
476 GrowableArray<Field*>* initialized_fields); 477 GrowableArray<Field*>* initialized_fields);
477 String& ParseNativeDeclaration(); 478 String& ParseNativeDeclaration();
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 856
856 // Indentation of parser trace. 857 // Indentation of parser trace.
857 intptr_t trace_indent_; 858 intptr_t trace_indent_;
858 859
859 DISALLOW_COPY_AND_ASSIGN(Parser); 860 DISALLOW_COPY_AND_ASSIGN(Parser);
860 }; 861 };
861 862
862 } // namespace dart 863 } // namespace dart
863 864
864 #endif // VM_PARSER_H_ 865 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698