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

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

Issue 10345003: Temporary fix for GrowableArray type arguments: use the type arguments stores in GrowableArray inst… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « runtime/vm/object.h ('k') | runtime/vm/stub_code_arm.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) 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_STUB_CODE_H_ 5 #ifndef VM_STUB_CODE_H_
6 #define VM_STUB_CODE_H_ 6 #define VM_STUB_CODE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 10
(...skipping 15 matching lines...) Expand all
26 V(AllocateArray) \ 26 V(AllocateArray) \
27 V(CallNoSuchMethodFunction) \ 27 V(CallNoSuchMethodFunction) \
28 V(MegamorphicLookup) \ 28 V(MegamorphicLookup) \
29 V(CallStaticFunction) \ 29 V(CallStaticFunction) \
30 V(CallClosureFunction) \ 30 V(CallClosureFunction) \
31 V(FixCallersTarget) \ 31 V(FixCallersTarget) \
32 V(Deoptimize) \ 32 V(Deoptimize) \
33 V(BreakpointStatic) \ 33 V(BreakpointStatic) \
34 V(BreakpointReturn) \ 34 V(BreakpointReturn) \
35 V(IsRawSubType) \ 35 V(IsRawSubType) \
36 V(SubtypeTestCache) \ 36 V(Subtype1TestCache) \
37 V(Subtype2TestCache) \
38 V(Subtype3TestCache) \
37 39
38 // Is it permitted for the stubs above to refer to Object::null(), which is 40 // Is it permitted for the stubs above to refer to Object::null(), which is
39 // allocated in the VM isolate and shared across all isolates. 41 // allocated in the VM isolate and shared across all isolates.
40 // However, in cases where a simple GC-safe placeholder is needed on the stack, 42 // However, in cases where a simple GC-safe placeholder is needed on the stack,
41 // using Smi 0 instead of Object::null() is slightly more efficient, since a Smi 43 // using Smi 0 instead of Object::null() is slightly more efficient, since a Smi
42 // does not require relocation. 44 // does not require relocation.
43 45
44 // List of stubs created per isolate, these stubs could potentially contain 46 // List of stubs created per isolate, these stubs could potentially contain
45 // embedded objects and hence cannot be shared across isolates. 47 // embedded objects and hence cannot be shared across isolates.
46 #define STUB_CODE_LIST(V) \ 48 #define STUB_CODE_LIST(V) \
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 const Class& cls); 176 const Class& cls);
175 static void GenerateAllocationStubForClosure(Assembler* assembler, 177 static void GenerateAllocationStubForClosure(Assembler* assembler,
176 const Function& func); 178 const Function& func);
177 static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler, 179 static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler,
178 intptr_t num_args); 180 intptr_t num_args);
179 }; 181 };
180 182
181 } // namespace dart 183 } // namespace dart
182 184
183 #endif // VM_STUB_CODE_H_ 185 #endif // VM_STUB_CODE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698