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

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

Issue 1376233011: Partially revert r26703 and omit regular code generation for implicit accessors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | runtime/vm/flow_graph_compiler.cc » ('J')
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // This makes it easier to measure time spent in the compiler. 321 // This makes it easier to measure time spent in the compiler.
322 void InitCompiler(); 322 void InitCompiler();
323 323
324 void CompileGraph(); 324 void CompileGraph();
325 325
326 void VisitBlocks(); 326 void VisitBlocks();
327 327
328 // Bail out of the flow graph compiler. Does not return to the caller. 328 // Bail out of the flow graph compiler. Does not return to the caller.
329 void Bailout(const char* reason); 329 void Bailout(const char* reason);
330 330
331 void TryIntrinsify(); 331 // Returns 'true' if code generation for this function is complete, i.e.,
332 // no fall-through to regular code is needed and regular code contains no
333 // deopt ids.
334 bool TryIntrinsify();
332 335
333 void GenerateRuntimeCall(intptr_t token_pos, 336 void GenerateRuntimeCall(intptr_t token_pos,
334 intptr_t deopt_id, 337 intptr_t deopt_id,
335 const RuntimeEntry& entry, 338 const RuntimeEntry& entry,
336 intptr_t argument_count, 339 intptr_t argument_count,
337 LocationSummary* locs); 340 LocationSummary* locs);
338 341
339 void GenerateCall(intptr_t token_pos, 342 void GenerateCall(intptr_t token_pos,
340 const StubEntry& stub_entry, 343 const StubEntry& stub_entry,
341 RawPcDescriptors::Kind kind, 344 RawPcDescriptors::Kind kind,
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 Array& inlined_code_intervals_; 739 Array& inlined_code_intervals_;
737 const GrowableArray<const Function*>& inline_id_to_function_; 740 const GrowableArray<const Function*>& inline_id_to_function_;
738 const GrowableArray<intptr_t>& caller_inline_id_; 741 const GrowableArray<intptr_t>& caller_inline_id_;
739 742
740 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 743 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
741 }; 744 };
742 745
743 } // namespace dart 746 } // namespace dart
744 747
745 #endif // VM_FLOW_GRAPH_COMPILER_H_ 748 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | runtime/vm/flow_graph_compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698