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/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 F(InterpreterLogicalNot, 1, 1) \ | 229 F(InterpreterLogicalNot, 1, 1) \ |
230 F(InterpreterTypeOf, 1, 1) \ | 230 F(InterpreterTypeOf, 1, 1) \ |
231 F(InterpreterNewClosure, 2, 1) \ | 231 F(InterpreterNewClosure, 2, 1) \ |
232 F(InterpreterForInPrepare, 1, 1) | 232 F(InterpreterForInPrepare, 1, 1) |
233 | 233 |
234 | 234 |
235 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 235 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
236 F(FunctionGetName, 1, 1) \ | 236 F(FunctionGetName, 1, 1) \ |
237 F(FunctionSetName, 2, 1) \ | 237 F(FunctionSetName, 2, 1) \ |
238 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ | 238 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ |
239 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ | 239 F(CompleteFunctionConstruction, 3, 1) \ |
240 F(FunctionIsArrow, 1, 1) \ | 240 F(FunctionIsArrow, 1, 1) \ |
241 F(FunctionIsConciseMethod, 1, 1) \ | 241 F(FunctionIsConciseMethod, 1, 1) \ |
242 F(FunctionRemovePrototype, 1, 1) \ | 242 F(FunctionRemovePrototype, 1, 1) \ |
243 F(FunctionGetScript, 1, 1) \ | 243 F(FunctionGetScript, 1, 1) \ |
244 F(FunctionGetSourceCode, 1, 1) \ | 244 F(FunctionGetSourceCode, 1, 1) \ |
245 F(FunctionGetScriptSourcePosition, 1, 1) \ | 245 F(FunctionGetScriptSourcePosition, 1, 1) \ |
246 F(FunctionGetPositionForOffset, 2, 1) \ | 246 F(FunctionGetPositionForOffset, 2, 1) \ |
247 F(FunctionSetInstanceClassName, 2, 1) \ | 247 F(FunctionSetInstanceClassName, 2, 1) \ |
248 F(FunctionSetLength, 2, 1) \ | 248 F(FunctionSetLength, 2, 1) \ |
249 F(FunctionSetPrototype, 2, 1) \ | 249 F(FunctionSetPrototype, 2, 1) \ |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 | 1260 |
1261 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1261 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1262 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1262 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1263 STATIC_ASSERT(LANGUAGE_END == 3); | 1263 STATIC_ASSERT(LANGUAGE_END == 3); |
1264 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1264 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1265 | 1265 |
1266 } // namespace internal | 1266 } // namespace internal |
1267 } // namespace v8 | 1267 } // namespace v8 |
1268 | 1268 |
1269 #endif // V8_RUNTIME_RUNTIME_H_ | 1269 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |