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

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

Issue 1151523002: VM-internalize the default Map implementation. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix fingerprints. Created 5 years, 6 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
« no previous file with comments | « runtime/vm/class_finalizer.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 "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/globals.h" 9 #include "platform/globals.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 335
336 Definition* BuildStoreLocal(const LocalVariable& local, Value* value); 336 Definition* BuildStoreLocal(const LocalVariable& local, Value* value);
337 Definition* BuildLoadLocal(const LocalVariable& local); 337 Definition* BuildLoadLocal(const LocalVariable& local);
338 LoadLocalInstr* BuildLoadThisVar(LocalScope* scope); 338 LoadLocalInstr* BuildLoadThisVar(LocalScope* scope);
339 LoadFieldInstr* BuildNativeGetter( 339 LoadFieldInstr* BuildNativeGetter(
340 NativeBodyNode* node, 340 NativeBodyNode* node,
341 MethodRecognizer::Kind kind, 341 MethodRecognizer::Kind kind,
342 intptr_t offset, 342 intptr_t offset,
343 const Type& type, 343 const Type& type,
344 intptr_t class_id); 344 intptr_t class_id);
345 // Assumes setter parameter is named 'value'. Returns null constant.
346 ConstantInstr* DoNativeSetterStoreValue(
347 NativeBodyNode* node,
348 intptr_t offset,
349 StoreBarrierType emit_store_barrier);
345 350
346 // Helpers for translating parts of the AST. 351 // Helpers for translating parts of the AST.
347 void BuildPushArguments(const ArgumentListNode& node, 352 void BuildPushArguments(const ArgumentListNode& node,
348 ZoneGrowableArray<PushArgumentInstr*>* values); 353 ZoneGrowableArray<PushArgumentInstr*>* values);
349 354
350 // Creates an instantiated type argument vector used in preparation of an 355 // Creates an instantiated type argument vector used in preparation of an
351 // allocation call. 356 // allocation call.
352 // May be called only if allocating an object of a parameterized class. 357 // May be called only if allocating an object of a parameterized class.
353 Value* BuildInstantiatedTypeArguments( 358 Value* BuildInstantiatedTypeArguments(
354 intptr_t token_pos, 359 intptr_t token_pos,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 // Output parameters. 605 // Output parameters.
601 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 606 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
602 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 607 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
603 608
604 intptr_t condition_token_pos_; 609 intptr_t condition_token_pos_;
605 }; 610 };
606 611
607 } // namespace dart 612 } // namespace dart
608 613
609 #endif // VM_FLOW_GRAPH_BUILDER_H_ 614 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698