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

Side by Side Diff: vm/code_generator.h

Issue 8379013: Implement new inline cache. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | vm/code_generator.cc » ('j') | vm/code_generator.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 12 matching lines...) Expand all
23 // Declaration of runtime entries called from stub or generated code. 23 // Declaration of runtime entries called from stub or generated code.
24 DECLARE_RUNTIME_ENTRY(AllocateArray); 24 DECLARE_RUNTIME_ENTRY(AllocateArray);
25 DECLARE_RUNTIME_ENTRY(AllocateClosure); 25 DECLARE_RUNTIME_ENTRY(AllocateClosure);
26 DECLARE_RUNTIME_ENTRY(AllocateImplicitInstanceClosure); 26 DECLARE_RUNTIME_ENTRY(AllocateImplicitInstanceClosure);
27 DECLARE_RUNTIME_ENTRY(AllocateImplicitStaticClosure); 27 DECLARE_RUNTIME_ENTRY(AllocateImplicitStaticClosure);
28 DECLARE_RUNTIME_ENTRY(AllocateContext); 28 DECLARE_RUNTIME_ENTRY(AllocateContext);
29 DECLARE_RUNTIME_ENTRY(AllocateObject); 29 DECLARE_RUNTIME_ENTRY(AllocateObject);
30 DECLARE_RUNTIME_ENTRY(ClosureArgumentMismatch); 30 DECLARE_RUNTIME_ENTRY(ClosureArgumentMismatch);
31 DECLARE_RUNTIME_ENTRY(Deoptimize); 31 DECLARE_RUNTIME_ENTRY(Deoptimize);
32 DECLARE_RUNTIME_ENTRY(FixCallersTarget); 32 DECLARE_RUNTIME_ENTRY(FixCallersTarget);
33 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandler);
33 DECLARE_RUNTIME_ENTRY(Instanceof); 34 DECLARE_RUNTIME_ENTRY(Instanceof);
34 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); 35 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments);
35 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction); 36 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction);
36 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); 37 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction);
37 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); 38 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction);
38 DECLARE_RUNTIME_ENTRY(PatchStaticCall); 39 DECLARE_RUNTIME_ENTRY(PatchStaticCall);
39 DECLARE_RUNTIME_ENTRY(ReportObjectNotClosure); 40 DECLARE_RUNTIME_ENTRY(ReportObjectNotClosure);
40 DECLARE_RUNTIME_ENTRY(ResolveCompileInstanceFunction); 41 DECLARE_RUNTIME_ENTRY(ResolveCompileInstanceFunction);
41 DECLARE_RUNTIME_ENTRY(ResolvePatchInstanceCall);
42 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction); 42 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction);
43 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter); 43 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter);
44 DECLARE_RUNTIME_ENTRY(ReThrow); 44 DECLARE_RUNTIME_ENTRY(ReThrow);
45 DECLARE_RUNTIME_ENTRY(StackOverflow); 45 DECLARE_RUNTIME_ENTRY(StackOverflow);
46 DECLARE_RUNTIME_ENTRY(Throw); 46 DECLARE_RUNTIME_ENTRY(Throw);
47 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); 47 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry);
48 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); 48 DECLARE_RUNTIME_ENTRY(TraceFunctionExit);
49 49
50 50
51 // This class wraps around the array RawClass::functions_cache_. 51 // This class wraps around the array RawClass::functions_cache_.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const Function& function, 84 const Function& function,
85 int num_arguments, 85 int num_arguments,
86 int num_named_arguments); 86 int num_named_arguments);
87 87
88 const Class& class_; 88 const Class& class_;
89 }; 89 };
90 90
91 } // namespace dart 91 } // namespace dart
92 92
93 #endif // VM_CODE_GENERATOR_H_ 93 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | vm/code_generator.cc » ('j') | vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698