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

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

Issue 1296703002: Move test runtime entries out of the master list. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « runtime/vm/native_entry_test.h ('k') | runtime/vm/runtime_entry_test.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_RUNTIME_ENTRY_H_ 5 #ifndef VM_RUNTIME_ENTRY_H_
6 #define VM_RUNTIME_ENTRY_H_ 6 #define VM_RUNTIME_ENTRY_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/flags.h" 9 #include "vm/flags.h"
10 #include "vm/native_arguments.h" 10 #include "vm/native_arguments.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 V(ReThrow) \ 48 V(ReThrow) \
49 V(StackOverflow) \ 49 V(StackOverflow) \
50 V(Throw) \ 50 V(Throw) \
51 V(TraceFunctionEntry) \ 51 V(TraceFunctionEntry) \
52 V(TraceFunctionExit) \ 52 V(TraceFunctionExit) \
53 V(DeoptimizeMaterialize) \ 53 V(DeoptimizeMaterialize) \
54 V(UpdateFieldCid) \ 54 V(UpdateFieldCid) \
55 V(InitStaticField) \ 55 V(InitStaticField) \
56 V(GrowRegExpStack) \ 56 V(GrowRegExpStack) \
57 V(CompileFunction) \ 57 V(CompileFunction) \
58 V(TestSmiSub) \
59 58
60 #define LEAF_RUNTIME_ENTRY_LIST(V) \ 59 #define LEAF_RUNTIME_ENTRY_LIST(V) \
61 V(void, PrintStopMessage, const char*) \ 60 V(void, PrintStopMessage, const char*) \
62 V(intptr_t, DeoptimizeCopyFrame, uword) \ 61 V(intptr_t, DeoptimizeCopyFrame, uword) \
63 V(void, DeoptimizeFillFrame, uword) \ 62 V(void, DeoptimizeFillFrame, uword) \
64 V(void, StoreBufferBlockProcess, Thread*) \ 63 V(void, StoreBufferBlockProcess, Thread*) \
65 V(intptr_t, BigintCompare, RawBigint*, RawBigint*) \ 64 V(intptr_t, BigintCompare, RawBigint*, RawBigint*) \
66 V(RawObject*, TestLeafSmiAdd, RawObject*, RawObject*) \
67 65
68 66
69 enum RuntimeFunctionId { 67 enum RuntimeFunctionId {
70 kNoRuntimeFunctionId = -1, 68 kNoRuntimeFunctionId = -1,
71 #define DECLARE_ENUM_VALUE(name) \ 69 #define DECLARE_ENUM_VALUE(name) \
72 k##name##Id, 70 k##name##Id,
73 RUNTIME_ENTRY_LIST(DECLARE_ENUM_VALUE) 71 RUNTIME_ENTRY_LIST(DECLARE_ENUM_VALUE)
74 #undef DECLARE_ENUM_VALUE 72 #undef DECLARE_ENUM_VALUE
75 73
76 #define DECLARE_LEAF_ENUM_VALUE(type, name, ...) \ 74 #define DECLARE_LEAF_ENUM_VALUE(type, name, ...) \
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 #define CHECK_LEAF_RUNTIME_ADDRESS(type, name, ...) \ 210 #define CHECK_LEAF_RUNTIME_ADDRESS(type, name, ...) \
213 if (address == reinterpret_cast<uword>(&DLRT_##name)) return k##name##Id; 211 if (address == reinterpret_cast<uword>(&DLRT_##name)) return k##name##Id;
214 LEAF_RUNTIME_ENTRY_LIST(CHECK_LEAF_RUNTIME_ADDRESS) 212 LEAF_RUNTIME_ENTRY_LIST(CHECK_LEAF_RUNTIME_ADDRESS)
215 #undef CHECK_LEAF_RUNTIME_ADDRESS 213 #undef CHECK_LEAF_RUNTIME_ADDRESS
216 return kNoRuntimeFunctionId; 214 return kNoRuntimeFunctionId;
217 } 215 }
218 216
219 } // namespace dart 217 } // namespace dart
220 218
221 #endif // VM_RUNTIME_ENTRY_H_ 219 #endif // VM_RUNTIME_ENTRY_H_
OLDNEW
« no previous file with comments | « runtime/vm/native_entry_test.h ('k') | runtime/vm/runtime_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698