OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 203 |
204 | 204 |
205 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 205 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
206 /* Reflection */ \ | 206 /* Reflection */ \ |
207 F(FunctionSetInstanceClassName, 2, 1) \ | 207 F(FunctionSetInstanceClassName, 2, 1) \ |
208 F(FunctionSetLength, 2, 1) \ | 208 F(FunctionSetLength, 2, 1) \ |
209 F(FunctionSetPrototype, 2, 1) \ | 209 F(FunctionSetPrototype, 2, 1) \ |
210 F(FunctionGetName, 1, 1) \ | 210 F(FunctionGetName, 1, 1) \ |
211 F(FunctionSetName, 2, 1) \ | 211 F(FunctionSetName, 2, 1) \ |
212 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ | 212 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ |
213 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ | |
214 F(FunctionIsGenerator, 1, 1) \ | 213 F(FunctionIsGenerator, 1, 1) \ |
215 F(FunctionIsArrow, 1, 1) \ | 214 F(FunctionIsArrow, 1, 1) \ |
216 F(FunctionIsConciseMethod, 1, 1) \ | 215 F(FunctionIsConciseMethod, 1, 1) \ |
217 F(FunctionBindArguments, 4, 1) \ | 216 F(FunctionBindArguments, 4, 1) \ |
218 F(BoundFunctionGetBindings, 1, 1) \ | 217 F(BoundFunctionGetBindings, 1, 1) \ |
219 F(FunctionRemovePrototype, 1, 1) \ | 218 F(FunctionRemovePrototype, 1, 1) \ |
220 F(FunctionGetSourceCode, 1, 1) \ | 219 F(FunctionGetSourceCode, 1, 1) \ |
221 F(FunctionGetScript, 1, 1) \ | 220 F(FunctionGetScript, 1, 1) \ |
222 F(FunctionGetScriptSourcePosition, 1, 1) \ | 221 F(FunctionGetScriptSourcePosition, 1, 1) \ |
223 F(FunctionGetPositionForOffset, 2, 1) \ | 222 F(FunctionGetPositionForOffset, 2, 1) \ |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 883 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
885 | 884 |
886 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 885 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
887 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 886 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
888 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 887 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
889 | 888 |
890 } // namespace internal | 889 } // namespace internal |
891 } // namespace v8 | 890 } // namespace v8 |
892 | 891 |
893 #endif // V8_RUNTIME_RUNTIME_H_ | 892 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |