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

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

Issue 14935005: Implement a variation of scalar replacement for non-escaping allocations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 7 years, 7 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 | « no previous file | runtime/vm/code_generator.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_CODE_GENERATOR_H_ 5 #ifndef VM_CODE_GENERATOR_H_
6 #define VM_CODE_GENERATOR_H_ 6 #define VM_CODE_GENERATOR_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/runtime_entry.h" 9 #include "vm/runtime_entry.h"
10 10
(...skipping 29 matching lines...) Expand all
40 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); 40 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler);
41 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); 41 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction);
42 DECLARE_RUNTIME_ENTRY(TraceICCall); 42 DECLARE_RUNTIME_ENTRY(TraceICCall);
43 DECLARE_RUNTIME_ENTRY(PatchStaticCall); 43 DECLARE_RUNTIME_ENTRY(PatchStaticCall);
44 DECLARE_RUNTIME_ENTRY(InvokeNonClosure); 44 DECLARE_RUNTIME_ENTRY(InvokeNonClosure);
45 DECLARE_RUNTIME_ENTRY(ReThrow); 45 DECLARE_RUNTIME_ENTRY(ReThrow);
46 DECLARE_RUNTIME_ENTRY(StackOverflow); 46 DECLARE_RUNTIME_ENTRY(StackOverflow);
47 DECLARE_RUNTIME_ENTRY(Throw); 47 DECLARE_RUNTIME_ENTRY(Throw);
48 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); 48 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry);
49 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); 49 DECLARE_RUNTIME_ENTRY(TraceFunctionExit);
50 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterializeDoubles); 50 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize);
51 DECLARE_RUNTIME_ENTRY(UpdateICDataTwoArgs); 51 DECLARE_RUNTIME_ENTRY(UpdateICDataTwoArgs);
52 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); 52 DECLARE_RUNTIME_ENTRY(UpdateFieldCid);
53 53
54 54
55 #define DEOPT_REASONS(V) \ 55 #define DEOPT_REASONS(V) \
56 V(Unknown) \ 56 V(Unknown) \
57 V(InstanceGetter) \ 57 V(InstanceGetter) \
58 V(PolymorphicInstanceCallTestFail) \ 58 V(PolymorphicInstanceCallTestFail) \
59 V(InstanceCallNoICData) \ 59 V(InstanceCallNoICData) \
60 V(IntegerToDouble) \ 60 V(IntegerToDouble) \
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 void DeoptimizeAt(const Code& optimized_code, uword pc); 97 void DeoptimizeAt(const Code& optimized_code, uword pc);
98 void DeoptimizeAll(); 98 void DeoptimizeAll();
99 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); 99 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes);
100 100
101 double DartModulo(double a, double b); 101 double DartModulo(double a, double b);
102 102
103 } // namespace dart 103 } // namespace dart
104 104
105 #endif // VM_CODE_GENERATOR_H_ 105 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698