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

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

Issue 517383005: VM: Clean up generated code for NoSuchMethod invocation of closures. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/flow_graph_compiler_x64.cc ('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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Is it permitted for the stubs above to refer to Object::null(), which is 44 // Is it permitted for the stubs above to refer to Object::null(), which is
45 // allocated in the VM isolate and shared across all isolates. 45 // allocated in the VM isolate and shared across all isolates.
46 // However, in cases where a simple GC-safe placeholder is needed on the stack, 46 // However, in cases where a simple GC-safe placeholder is needed on the stack,
47 // using Smi 0 instead of Object::null() is slightly more efficient, since a Smi 47 // using Smi 0 instead of Object::null() is slightly more efficient, since a Smi
48 // does not require relocation. 48 // does not require relocation.
49 49
50 // List of stubs created per isolate, these stubs could potentially contain 50 // List of stubs created per isolate, these stubs could potentially contain
51 // embedded objects and hence cannot be shared across isolates. 51 // embedded objects and hence cannot be shared across isolates.
52 #define STUB_CODE_LIST(V) \ 52 #define STUB_CODE_LIST(V) \
53 V(AllocateArray) \ 53 V(AllocateArray) \
54 V(CallNoSuchMethodFunction) \ 54 V(CallClosureNoSuchMethod) \
55 V(AllocateContext) \ 55 V(AllocateContext) \
56 V(UpdateStoreBuffer) \ 56 V(UpdateStoreBuffer) \
57 V(OneArgCheckInlineCache) \ 57 V(OneArgCheckInlineCache) \
58 V(TwoArgsCheckInlineCache) \ 58 V(TwoArgsCheckInlineCache) \
59 V(ThreeArgsCheckInlineCache) \ 59 V(ThreeArgsCheckInlineCache) \
60 V(SmiAddInlineCache) \ 60 V(SmiAddInlineCache) \
61 V(SmiSubInlineCache) \ 61 V(SmiSubInlineCache) \
62 V(SmiEqualInlineCache) \ 62 V(SmiEqualInlineCache) \
63 V(OneArgOptimizedCheckInlineCache) \ 63 V(OneArgOptimizedCheckInlineCache) \
64 V(TwoArgsOptimizedCheckInlineCache) \ 64 V(TwoArgsOptimizedCheckInlineCache) \
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 Assembler* assembler, 215 Assembler* assembler,
216 const Register left, 216 const Register left,
217 const Register right, 217 const Register right,
218 const Register temp1 = kNoRegister, 218 const Register temp1 = kNoRegister,
219 const Register temp2 = kNoRegister); 219 const Register temp2 = kNoRegister);
220 }; 220 };
221 221
222 } // namespace dart 222 } // namespace dart
223 223
224 #endif // VM_STUB_CODE_H_ 224 #endif // VM_STUB_CODE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698