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

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

Issue 11712002: Remove NoSuchMethodErrorImplementation class and use NoSuchMethodError from core (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/dart_api_impl_test.cc ('k') | runtime/vm/flow_graph_builder.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_FLOW_GRAPH_BUILDER_H_ 5 #ifndef VM_FLOW_GRAPH_BUILDER_H_
6 #define VM_FLOW_GRAPH_BUILDER_H_ 6 #define VM_FLOW_GRAPH_BUILDER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void BuildLoadContext(const LocalVariable& variable); 255 void BuildLoadContext(const LocalVariable& variable);
256 256
257 void BuildThrowNode(ThrowNode* node); 257 void BuildThrowNode(ThrowNode* node);
258 258
259 StaticCallInstr* BuildStaticNoSuchMethodCall( 259 StaticCallInstr* BuildStaticNoSuchMethodCall(
260 const Class& target_class, 260 const Class& target_class,
261 AstNode* receiver, 261 AstNode* receiver,
262 const String& method_name, 262 const String& method_name,
263 ArgumentListNode* method_arguments); 263 ArgumentListNode* method_arguments);
264 264
265 StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos,
266 const Class& function_class,
267 const String& function_name);
268
265 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed); 269 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed);
266 Definition* BuildStoreStaticField(StoreStaticFieldNode* node, 270 Definition* BuildStoreStaticField(StoreStaticFieldNode* node,
267 bool result_is_needed); 271 bool result_is_needed);
268 272
269 ClosureCallInstr* BuildClosureCall(ClosureCallNode* node); 273 ClosureCallInstr* BuildClosureCall(ClosureCallNode* node);
270 274
271 Value* BuildNullValue(); 275 Value* BuildNullValue();
272 276
273 private: 277 private:
274 // Specify a definition of the final result. Adds the definition to 278 // Specify a definition of the final result. Adds the definition to
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // Output parameters. 413 // Output parameters.
410 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 414 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
411 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 415 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
412 416
413 intptr_t condition_token_pos_; 417 intptr_t condition_token_pos_;
414 }; 418 };
415 419
416 } // namespace dart 420 } // namespace dart
417 421
418 #endif // VM_FLOW_GRAPH_BUILDER_H_ 422 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698