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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 F(InterpreterClearPendingMessage, 0, 1) \ | 212 F(InterpreterClearPendingMessage, 0, 1) \ |
213 F(InterpreterSetPendingMessage, 1, 1) | 213 F(InterpreterSetPendingMessage, 1, 1) |
214 | 214 |
215 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 215 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
216 F(FunctionGetName, 1, 1) \ | 216 F(FunctionGetName, 1, 1) \ |
217 F(FunctionSetName, 2, 1) \ | 217 F(FunctionSetName, 2, 1) \ |
218 F(FunctionRemovePrototype, 1, 1) \ | 218 F(FunctionRemovePrototype, 1, 1) \ |
219 F(FunctionGetScript, 1, 1) \ | 219 F(FunctionGetScript, 1, 1) \ |
220 F(FunctionGetSourceCode, 1, 1) \ | 220 F(FunctionGetSourceCode, 1, 1) \ |
221 F(FunctionGetScriptSourcePosition, 1, 1) \ | 221 F(FunctionGetScriptSourcePosition, 1, 1) \ |
222 F(FunctionGetPositionForOffset, 2, 1) \ | |
223 F(FunctionGetContextData, 1, 1) \ | 222 F(FunctionGetContextData, 1, 1) \ |
224 F(FunctionSetInstanceClassName, 2, 1) \ | 223 F(FunctionSetInstanceClassName, 2, 1) \ |
225 F(FunctionSetLength, 2, 1) \ | 224 F(FunctionSetLength, 2, 1) \ |
226 F(FunctionSetPrototype, 2, 1) \ | 225 F(FunctionSetPrototype, 2, 1) \ |
227 F(FunctionIsAPIFunction, 1, 1) \ | 226 F(FunctionIsAPIFunction, 1, 1) \ |
228 F(SetCode, 2, 1) \ | 227 F(SetCode, 2, 1) \ |
229 F(SetNativeFlag, 1, 1) \ | 228 F(SetNativeFlag, 1, 1) \ |
230 F(IsConstructor, 1, 1) \ | 229 F(IsConstructor, 1, 1) \ |
231 F(SetForceInlineFlag, 1, 1) \ | 230 F(SetForceInlineFlag, 1, 1) \ |
232 F(Call, -1 /* >= 2 */, 1) \ | 231 F(Call, -1 /* >= 2 */, 1) \ |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 | 1126 |
1128 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1129 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1130 STATIC_ASSERT(LANGUAGE_END == 3); | 1129 STATIC_ASSERT(LANGUAGE_END == 3); |
1131 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1132 | 1131 |
1133 } // namespace internal | 1132 } // namespace internal |
1134 } // namespace v8 | 1133 } // namespace v8 |
1135 | 1134 |
1136 #endif // V8_RUNTIME_RUNTIME_H_ | 1135 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |