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

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

Issue 11642003: Create and cache method extraction stub in the ICData. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: lazyly inject extractors as getters into class Created 7 years, 11 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/object.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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 SequenceNode* ParseConstructor(const Function& func, 387 SequenceNode* ParseConstructor(const Function& func,
388 Array& default_parameter_values); 388 Array& default_parameter_values);
389 SequenceNode* ParseFunc(const Function& func, 389 SequenceNode* ParseFunc(const Function& func,
390 Array& default_parameter_values); 390 Array& default_parameter_values);
391 391
392 void ParseNativeFunctionBlock(const ParamList* params, const Function& func); 392 void ParseNativeFunctionBlock(const ParamList* params, const Function& func);
393 393
394 SequenceNode* ParseInstanceGetter(const Function& func); 394 SequenceNode* ParseInstanceGetter(const Function& func);
395 SequenceNode* ParseInstanceSetter(const Function& func); 395 SequenceNode* ParseInstanceSetter(const Function& func);
396 SequenceNode* ParseStaticConstGetter(const Function& func); 396 SequenceNode* ParseStaticConstGetter(const Function& func);
397 SequenceNode* ParseMethodExtractor(const Function& func);
397 398
398 void ChainNewBlock(LocalScope* outer_scope); 399 void ChainNewBlock(LocalScope* outer_scope);
399 void OpenBlock(); 400 void OpenBlock();
400 void OpenLoopBlock(); 401 void OpenLoopBlock();
401 void OpenFunctionBlock(const Function& func); 402 void OpenFunctionBlock(const Function& func);
402 SequenceNode* CloseBlock(); 403 SequenceNode* CloseBlock();
403 404
404 LocalVariable* LookupPhaseParameter(); 405 LocalVariable* LookupPhaseParameter();
405 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); 406 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only);
406 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, 407 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope,
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 630
630 // Allocate temporary only once per function. 631 // Allocate temporary only once per function.
631 LocalVariable* expression_temp_; 632 LocalVariable* expression_temp_;
632 633
633 DISALLOW_COPY_AND_ASSIGN(Parser); 634 DISALLOW_COPY_AND_ASSIGN(Parser);
634 }; 635 };
635 636
636 } // namespace dart 637 } // namespace dart
637 638
638 #endif // VM_PARSER_H_ 639 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698