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 F(FunctionGetPositionForOffset, 2, 1) \ | 203 F(FunctionGetPositionForOffset, 2, 1) \ |
204 F(FunctionSetInstanceClassName, 2, 1) \ | 204 F(FunctionSetInstanceClassName, 2, 1) \ |
205 F(FunctionSetLength, 2, 1) \ | 205 F(FunctionSetLength, 2, 1) \ |
206 F(FunctionSetPrototype, 2, 1) \ | 206 F(FunctionSetPrototype, 2, 1) \ |
207 F(FunctionIsAPIFunction, 1, 1) \ | 207 F(FunctionIsAPIFunction, 1, 1) \ |
208 F(FunctionIsBuiltin, 1, 1) \ | 208 F(FunctionIsBuiltin, 1, 1) \ |
209 F(SetCode, 2, 1) \ | 209 F(SetCode, 2, 1) \ |
210 F(SetNativeFlag, 1, 1) \ | 210 F(SetNativeFlag, 1, 1) \ |
211 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 211 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
212 F(IsConstructor, 1, 1) \ | 212 F(IsConstructor, 1, 1) \ |
213 F(SetInlineBuiltinFlag, 1, 1) \ | 213 F(SetForceInlineFlag, 1, 1) \ |
214 F(FunctionBindArguments, 4, 1) \ | 214 F(FunctionBindArguments, 4, 1) \ |
215 F(BoundFunctionGetBindings, 1, 1) \ | 215 F(BoundFunctionGetBindings, 1, 1) \ |
216 F(NewObjectFromBound, 1, 1) \ | 216 F(NewObjectFromBound, 1, 1) \ |
217 F(Call, -1 /* >= 2 */, 1) \ | 217 F(Call, -1 /* >= 2 */, 1) \ |
218 F(Apply, 5, 1) \ | 218 F(Apply, 5, 1) \ |
219 F(GetFunctionDelegate, 1, 1) \ | 219 F(GetFunctionDelegate, 1, 1) \ |
220 F(GetConstructorDelegate, 1, 1) \ | 220 F(GetConstructorDelegate, 1, 1) \ |
221 F(CallFunction, -1 /* receiver + n args + function */, 1) \ | 221 F(CallFunction, -1 /* receiver + n args + function */, 1) \ |
222 F(IsConstructCall, 0, 1) \ | 222 F(IsConstructCall, 0, 1) \ |
223 F(IsFunction, 1, 1) | 223 F(IsFunction, 1, 1) |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 | 872 |
873 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 873 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
874 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 874 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
875 STATIC_ASSERT(LANGUAGE_END == 3); | 875 STATIC_ASSERT(LANGUAGE_END == 3); |
876 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 876 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
877 | 877 |
878 } // namespace internal | 878 } // namespace internal |
879 } // namespace v8 | 879 } // namespace v8 |
880 | 880 |
881 #endif // V8_RUNTIME_RUNTIME_H_ | 881 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |