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

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

Issue 11299298: Cache lookups at megamorphic call sites in optimized code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/code_generator.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
(...skipping 14 matching lines...) Expand all
25 DECLARE_RUNTIME_ENTRY(CloneContext); 25 DECLARE_RUNTIME_ENTRY(CloneContext);
26 DECLARE_RUNTIME_ENTRY(Deoptimize); 26 DECLARE_RUNTIME_ENTRY(Deoptimize);
27 DECLARE_RUNTIME_ENTRY(FixCallersTarget); 27 DECLARE_RUNTIME_ENTRY(FixCallersTarget);
28 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg); 28 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg);
29 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); 29 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs);
30 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs); 30 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs);
31 DECLARE_RUNTIME_ENTRY(Instanceof); 31 DECLARE_RUNTIME_ENTRY(Instanceof);
32 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); 32 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments);
33 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction); 33 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction);
34 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); 34 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction);
35 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler);
35 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); 36 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction);
36 DECLARE_RUNTIME_ENTRY(TraceICCall); 37 DECLARE_RUNTIME_ENTRY(TraceICCall);
37 DECLARE_RUNTIME_ENTRY(PatchStaticCall); 38 DECLARE_RUNTIME_ENTRY(PatchStaticCall);
38 DECLARE_RUNTIME_ENTRY(ReportObjectNotClosure); 39 DECLARE_RUNTIME_ENTRY(ReportObjectNotClosure);
39 DECLARE_RUNTIME_ENTRY(ResolveCompileInstanceFunction); 40 DECLARE_RUNTIME_ENTRY(ResolveCompileInstanceFunction);
40 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction); 41 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction);
41 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter); 42 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter);
42 DECLARE_RUNTIME_ENTRY(ReThrow); 43 DECLARE_RUNTIME_ENTRY(ReThrow);
43 DECLARE_RUNTIME_ENTRY(StackOverflow); 44 DECLARE_RUNTIME_ENTRY(StackOverflow);
44 DECLARE_RUNTIME_ENTRY(Throw); 45 DECLARE_RUNTIME_ENTRY(Throw);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 83
83 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, 84 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate,
84 const Instance& receiver); 85 const Instance& receiver);
85 86
86 void DeoptimizeAll(); 87 void DeoptimizeAll();
87 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); 88 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes);
88 89
89 } // namespace dart 90 } // namespace dart
90 91
91 #endif // VM_CODE_GENERATOR_H_ 92 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698