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