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

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

Issue 1713853003: VM: Share object pool entries for optimized static calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/code_generator.cc ('k') | runtime/vm/flow_graph_compiler_arm.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_COMPILER_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 void GenerateCall(TokenPosition token_pos, 375 void GenerateCall(TokenPosition token_pos,
376 const StubEntry& stub_entry, 376 const StubEntry& stub_entry,
377 RawPcDescriptors::Kind kind, 377 RawPcDescriptors::Kind kind,
378 LocationSummary* locs); 378 LocationSummary* locs);
379 379
380 void GenerateDartCall(intptr_t deopt_id, 380 void GenerateDartCall(intptr_t deopt_id,
381 TokenPosition token_pos, 381 TokenPosition token_pos,
382 const StubEntry& stub_entry, 382 const StubEntry& stub_entry,
383 RawPcDescriptors::Kind kind, 383 RawPcDescriptors::Kind kind,
384 LocationSummary* locs); 384 LocationSummary* locs);
385 void GenerateStaticDartCall(intptr_t deopt_id,
386 TokenPosition token_pos,
387 const StubEntry& stub_entry,
388 RawPcDescriptors::Kind kind,
389 LocationSummary* locs,
390 const Function& target);
385 391
386 void GenerateAssertAssignable(TokenPosition token_pos, 392 void GenerateAssertAssignable(TokenPosition token_pos,
387 intptr_t deopt_id, 393 intptr_t deopt_id,
388 const AbstractType& dst_type, 394 const AbstractType& dst_type,
389 const String& dst_name, 395 const String& dst_name,
390 LocationSummary* locs); 396 LocationSummary* locs);
391 397
392 void GenerateInstanceOf(TokenPosition token_pos, 398 void GenerateInstanceOf(TokenPosition token_pos,
393 intptr_t deopt_id, 399 intptr_t deopt_id,
394 const AbstractType& type, 400 const AbstractType& type,
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 Array& inlined_code_intervals_; 788 Array& inlined_code_intervals_;
783 const GrowableArray<const Function*>& inline_id_to_function_; 789 const GrowableArray<const Function*>& inline_id_to_function_;
784 const GrowableArray<intptr_t>& caller_inline_id_; 790 const GrowableArray<intptr_t>& caller_inline_id_;
785 791
786 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 792 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
787 }; 793 };
788 794
789 } // namespace dart 795 } // namespace dart
790 796
791 #endif // VM_FLOW_GRAPH_COMPILER_H_ 797 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698