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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 207 |
208 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) | 208 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) |
209 | 209 |
210 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 210 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
211 F(ForInEnumerate, 1, 1) \ | 211 F(ForInEnumerate, 1, 1) \ |
212 F(ForInFilter, 2, 1) \ | 212 F(ForInFilter, 2, 1) \ |
213 F(ForInHasProperty, 2, 1) \ | 213 F(ForInHasProperty, 2, 1) \ |
214 F(ForInNext, 4, 1) | 214 F(ForInNext, 4, 1) |
215 | 215 |
216 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ | 216 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ |
217 F(InterpreterNewClosure, 2, 1) \ | 217 F(InterpreterNewClosure, 4, 1) \ |
218 F(InterpreterTraceBytecodeEntry, 3, 1) \ | 218 F(InterpreterTraceBytecodeEntry, 3, 1) \ |
219 F(InterpreterTraceBytecodeExit, 3, 1) \ | 219 F(InterpreterTraceBytecodeExit, 3, 1) \ |
220 F(InterpreterAdvanceBytecodeOffset, 2, 1) | 220 F(InterpreterAdvanceBytecodeOffset, 2, 1) |
221 | 221 |
222 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 222 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
223 F(FunctionGetName, 1, 1) \ | 223 F(FunctionGetName, 1, 1) \ |
224 F(FunctionSetName, 2, 1) \ | 224 F(FunctionSetName, 2, 1) \ |
225 F(FunctionRemovePrototype, 1, 1) \ | 225 F(FunctionRemovePrototype, 1, 1) \ |
226 F(FunctionGetScript, 1, 1) \ | 226 F(FunctionGetScript, 1, 1) \ |
227 F(FunctionGetScriptId, 1, 1) \ | 227 F(FunctionGetScriptId, 1, 1) \ |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 F(DeclareGlobals, 3, 1) \ | 485 F(DeclareGlobals, 3, 1) \ |
486 F(DeclareGlobalsForInterpreter, 3, 1) \ | 486 F(DeclareGlobalsForInterpreter, 3, 1) \ |
487 F(InitializeVarGlobal, 3, 1) \ | 487 F(InitializeVarGlobal, 3, 1) \ |
488 F(DeclareEvalFunction, 2, 1) \ | 488 F(DeclareEvalFunction, 2, 1) \ |
489 F(DeclareEvalVar, 1, 1) \ | 489 F(DeclareEvalVar, 1, 1) \ |
490 F(NewSloppyArguments_Generic, 1, 1) \ | 490 F(NewSloppyArguments_Generic, 1, 1) \ |
491 F(NewStrictArguments, 1, 1) \ | 491 F(NewStrictArguments, 1, 1) \ |
492 F(NewRestParameter, 1, 1) \ | 492 F(NewRestParameter, 1, 1) \ |
493 F(NewSloppyArguments, 3, 1) \ | 493 F(NewSloppyArguments, 3, 1) \ |
494 F(NewArgumentsElements, 2, 1) \ | 494 F(NewArgumentsElements, 2, 1) \ |
495 F(NewClosure, 1, 1) \ | 495 F(NewClosure, 3, 1) \ |
496 F(NewClosure_Tenured, 1, 1) \ | 496 F(NewClosure_Tenured, 3, 1) \ |
497 F(NewScriptContext, 2, 1) \ | 497 F(NewScriptContext, 2, 1) \ |
498 F(NewFunctionContext, 2, 1) \ | 498 F(NewFunctionContext, 2, 1) \ |
499 F(PushModuleContext, 3, 1) \ | 499 F(PushModuleContext, 3, 1) \ |
500 F(PushWithContext, 3, 1) \ | 500 F(PushWithContext, 3, 1) \ |
501 F(PushCatchContext, 4, 1) \ | 501 F(PushCatchContext, 4, 1) \ |
502 F(PushBlockContext, 2, 1) \ | 502 F(PushBlockContext, 2, 1) \ |
503 F(DeleteLookupSlot, 1, 1) \ | 503 F(DeleteLookupSlot, 1, 1) \ |
504 F(LoadLookupSlot, 1, 1) \ | 504 F(LoadLookupSlot, 1, 1) \ |
505 F(LoadLookupSlotInsideTypeof, 1, 1) \ | 505 F(LoadLookupSlotInsideTypeof, 1, 1) \ |
506 F(StoreLookupSlot_Sloppy, 2, 1) \ | 506 F(StoreLookupSlot_Sloppy, 2, 1) \ |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 | 1147 |
1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1150 STATIC_ASSERT(LANGUAGE_END == 2); | 1150 STATIC_ASSERT(LANGUAGE_END == 2); |
1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1152 | 1152 |
1153 } // namespace internal | 1153 } // namespace internal |
1154 } // namespace v8 | 1154 } // namespace v8 |
1155 | 1155 |
1156 #endif // V8_RUNTIME_RUNTIME_H_ | 1156 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |