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

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

Issue 178233003: Allocate instance closures similarly to regular closures, i.e. without a (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/flow_graph_builder.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_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
11 namespace dart { 11 namespace dart {
12 12
13 class Array; 13 class Array;
14 template <typename T> class GrowableArray; 14 template <typename T> class GrowableArray;
15 class ICData; 15 class ICData;
16 class Instance; 16 class Instance;
17 17
18 // Declaration of runtime entries called from stub or generated code. 18 // Declaration of runtime entries called from stub or generated code.
19 DECLARE_RUNTIME_ENTRY(AllocateArray); 19 DECLARE_RUNTIME_ENTRY(AllocateArray);
20 DECLARE_RUNTIME_ENTRY(AllocateClosure);
21 DECLARE_RUNTIME_ENTRY(AllocateImplicitInstanceClosure);
22 DECLARE_RUNTIME_ENTRY(AllocateContext); 20 DECLARE_RUNTIME_ENTRY(AllocateContext);
23 DECLARE_RUNTIME_ENTRY(AllocateObject); 21 DECLARE_RUNTIME_ENTRY(AllocateObject);
24 DECLARE_RUNTIME_ENTRY(BreakpointRuntimeHandler); 22 DECLARE_RUNTIME_ENTRY(BreakpointRuntimeHandler);
25 DECLARE_RUNTIME_ENTRY(SingleStepHandler); 23 DECLARE_RUNTIME_ENTRY(SingleStepHandler);
26 DECLARE_RUNTIME_ENTRY(CloneContext); 24 DECLARE_RUNTIME_ENTRY(CloneContext);
27 DECLARE_RUNTIME_ENTRY(Deoptimize); 25 DECLARE_RUNTIME_ENTRY(Deoptimize);
28 DECLARE_RUNTIME_ENTRY(FixCallersTarget); 26 DECLARE_RUNTIME_ENTRY(FixCallersTarget);
29 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg); 27 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg);
30 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); 28 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs);
31 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs); 29 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 94
97 void DeoptimizeAt(const Code& optimized_code, uword pc); 95 void DeoptimizeAt(const Code& optimized_code, uword pc);
98 void DeoptimizeAll(); 96 void DeoptimizeAll();
99 97
100 double DartModulo(double a, double b); 98 double DartModulo(double a, double b);
101 void SinCos(double arg, double* sin_res, double* cos_res); 99 void SinCos(double arg, double* sin_res, double* cos_res);
102 100
103 } // namespace dart 101 } // namespace dart
104 102
105 #endif // VM_CODE_GENERATOR_H_ 103 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/flow_graph_builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698