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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 F(InterpreterSetPendingMessage, 1, 1) | 211 F(InterpreterSetPendingMessage, 1, 1) |
212 | 212 |
213 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 213 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
214 F(FunctionGetName, 1, 1) \ | 214 F(FunctionGetName, 1, 1) \ |
215 F(FunctionSetName, 2, 1) \ | 215 F(FunctionSetName, 2, 1) \ |
216 F(FunctionRemovePrototype, 1, 1) \ | 216 F(FunctionRemovePrototype, 1, 1) \ |
217 F(FunctionGetScript, 1, 1) \ | 217 F(FunctionGetScript, 1, 1) \ |
218 F(FunctionGetSourceCode, 1, 1) \ | 218 F(FunctionGetSourceCode, 1, 1) \ |
219 F(FunctionGetScriptSourcePosition, 1, 1) \ | 219 F(FunctionGetScriptSourcePosition, 1, 1) \ |
220 F(FunctionGetPositionForOffset, 2, 1) \ | 220 F(FunctionGetPositionForOffset, 2, 1) \ |
| 221 F(FunctionGetContextData, 1, 1) \ |
221 F(FunctionSetInstanceClassName, 2, 1) \ | 222 F(FunctionSetInstanceClassName, 2, 1) \ |
222 F(FunctionSetLength, 2, 1) \ | 223 F(FunctionSetLength, 2, 1) \ |
223 F(FunctionSetPrototype, 2, 1) \ | 224 F(FunctionSetPrototype, 2, 1) \ |
224 F(FunctionIsAPIFunction, 1, 1) \ | 225 F(FunctionIsAPIFunction, 1, 1) \ |
225 F(SetCode, 2, 1) \ | 226 F(SetCode, 2, 1) \ |
226 F(SetNativeFlag, 1, 1) \ | 227 F(SetNativeFlag, 1, 1) \ |
227 F(IsConstructor, 1, 1) \ | 228 F(IsConstructor, 1, 1) \ |
228 F(SetForceInlineFlag, 1, 1) \ | 229 F(SetForceInlineFlag, 1, 1) \ |
229 F(Call, -1 /* >= 2 */, 1) \ | 230 F(Call, -1 /* >= 2 */, 1) \ |
230 F(ConvertReceiver, 1, 1) \ | 231 F(ConvertReceiver, 1, 1) \ |
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 | 1184 |
1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1185 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1186 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1186 STATIC_ASSERT(LANGUAGE_END == 3); | 1187 STATIC_ASSERT(LANGUAGE_END == 3); |
1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1188 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1188 | 1189 |
1189 } // namespace internal | 1190 } // namespace internal |
1190 } // namespace v8 | 1191 } // namespace v8 |
1191 | 1192 |
1192 #endif // V8_RUNTIME_RUNTIME_H_ | 1193 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |