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

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

Issue 2504693002: Mark lazily-patched native calls correctly as patchable. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | 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 RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
6 #define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 6 #define RUNTIME_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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 intptr_t deopt_id, 339 intptr_t deopt_id,
340 const RuntimeEntry& entry, 340 const RuntimeEntry& entry,
341 intptr_t argument_count, 341 intptr_t argument_count,
342 LocationSummary* locs); 342 LocationSummary* locs);
343 343
344 void GenerateCall(TokenPosition token_pos, 344 void GenerateCall(TokenPosition token_pos,
345 const StubEntry& stub_entry, 345 const StubEntry& stub_entry,
346 RawPcDescriptors::Kind kind, 346 RawPcDescriptors::Kind kind,
347 LocationSummary* locs); 347 LocationSummary* locs);
348 348
349 void GeneratePatchableCall(TokenPosition token_pos,
350 const StubEntry& stub_entry,
351 RawPcDescriptors::Kind kind,
352 LocationSummary* locs);
353
349 void GenerateDartCall(intptr_t deopt_id, 354 void GenerateDartCall(intptr_t deopt_id,
350 TokenPosition token_pos, 355 TokenPosition token_pos,
351 const StubEntry& stub_entry, 356 const StubEntry& stub_entry,
352 RawPcDescriptors::Kind kind, 357 RawPcDescriptors::Kind kind,
353 LocationSummary* locs); 358 LocationSummary* locs);
354 void GenerateStaticDartCall(intptr_t deopt_id, 359 void GenerateStaticDartCall(intptr_t deopt_id,
355 TokenPosition token_pos, 360 TokenPosition token_pos,
356 const StubEntry& stub_entry, 361 const StubEntry& stub_entry,
357 RawPcDescriptors::Kind kind, 362 RawPcDescriptors::Kind kind,
358 LocationSummary* locs, 363 LocationSummary* locs,
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 const GrowableArray<const Function*>& inline_id_to_function_; 792 const GrowableArray<const Function*>& inline_id_to_function_;
788 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; 793 const GrowableArray<TokenPosition>& inline_id_to_token_pos_;
789 const GrowableArray<intptr_t>& caller_inline_id_; 794 const GrowableArray<intptr_t>& caller_inline_id_;
790 795
791 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 796 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
792 }; 797 };
793 798
794 } // namespace dart 799 } // namespace dart
795 800
796 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 801 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698