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

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

Issue 227723002: VM: Implement closure calls as instance calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adjust inlining of dispatchers Created 6 years, 8 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 21 matching lines...) Expand all
32 DECLARE_RUNTIME_ENTRY(TypeCheck); 32 DECLARE_RUNTIME_ENTRY(TypeCheck);
33 DECLARE_RUNTIME_ENTRY(BadTypeError); 33 DECLARE_RUNTIME_ENTRY(BadTypeError);
34 DECLARE_RUNTIME_ENTRY(NonBoolTypeError); 34 DECLARE_RUNTIME_ENTRY(NonBoolTypeError);
35 DECLARE_RUNTIME_ENTRY(InstantiateType); 35 DECLARE_RUNTIME_ENTRY(InstantiateType);
36 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); 36 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments);
37 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); 37 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction);
38 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); 38 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler);
39 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); 39 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction);
40 DECLARE_RUNTIME_ENTRY(TraceICCall); 40 DECLARE_RUNTIME_ENTRY(TraceICCall);
41 DECLARE_RUNTIME_ENTRY(PatchStaticCall); 41 DECLARE_RUNTIME_ENTRY(PatchStaticCall);
42 DECLARE_RUNTIME_ENTRY(InvokeNonClosure);
43 DECLARE_RUNTIME_ENTRY(ReThrow); 42 DECLARE_RUNTIME_ENTRY(ReThrow);
44 DECLARE_RUNTIME_ENTRY(StackOverflow); 43 DECLARE_RUNTIME_ENTRY(StackOverflow);
45 DECLARE_RUNTIME_ENTRY(Throw); 44 DECLARE_RUNTIME_ENTRY(Throw);
46 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); 45 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry);
47 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); 46 DECLARE_RUNTIME_ENTRY(TraceFunctionExit);
48 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); 47 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize);
49 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); 48 DECLARE_RUNTIME_ENTRY(UpdateFieldCid);
50 49
51 #define DEOPT_REASONS(V) \ 50 #define DEOPT_REASONS(V) \
52 V(Unknown) \ 51 V(Unknown) \
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 88
90 void DeoptimizeAt(const Code& optimized_code, uword pc); 89 void DeoptimizeAt(const Code& optimized_code, uword pc);
91 void DeoptimizeAll(); 90 void DeoptimizeAll();
92 91
93 double DartModulo(double a, double b); 92 double DartModulo(double a, double b);
94 void SinCos(double arg, double* sin_res, double* cos_res); 93 void SinCos(double arg, double* sin_res, double* cos_res);
95 94
96 } // namespace dart 95 } // namespace dart
97 96
98 #endif // VM_CODE_GENERATOR_H_ 97 #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