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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 #define FOR_EACH_INTRINSIC_I18N(F) | 281 #define FOR_EACH_INTRINSIC_I18N(F) |
282 #endif | 282 #endif |
283 | 283 |
284 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ | 284 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ |
285 F(AllocateInNewSpace, 1, 1) \ | 285 F(AllocateInNewSpace, 1, 1) \ |
286 F(AllocateInTargetSpace, 2, 1) \ | 286 F(AllocateInTargetSpace, 2, 1) \ |
287 F(AllocateSeqOneByteString, 1, 1) \ | 287 F(AllocateSeqOneByteString, 1, 1) \ |
288 F(AllocateSeqTwoByteString, 1, 1) \ | 288 F(AllocateSeqTwoByteString, 1, 1) \ |
289 F(CheckIsBootstrapping, 0, 1) \ | 289 F(CheckIsBootstrapping, 0, 1) \ |
290 F(CreateListFromArrayLike, 1, 1) \ | 290 F(CreateListFromArrayLike, 1, 1) \ |
291 F(CreateResolvingFunctions, 1, 1) \ | |
292 F(EnqueueMicrotask, 1, 1) \ | 291 F(EnqueueMicrotask, 1, 1) \ |
293 F(EnqueuePromiseReactionJob, 2, 1) \ | 292 F(EnqueuePromiseReactionJob, 2, 1) \ |
294 F(EnqueuePromiseResolveThenableJob, 3, 1) \ | 293 F(EnqueuePromiseResolveThenableJob, 1, 1) \ |
295 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 294 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
296 F(ExportExperimentalFromRuntime, 1, 1) \ | 295 F(ExportExperimentalFromRuntime, 1, 1) \ |
297 F(ExportFromRuntime, 1, 1) \ | 296 F(ExportFromRuntime, 1, 1) \ |
298 F(IncrementUseCounter, 1, 1) \ | 297 F(IncrementUseCounter, 1, 1) \ |
299 F(InstallToContext, 1, 1) \ | 298 F(InstallToContext, 1, 1) \ |
300 F(Interrupt, 0, 1) \ | 299 F(Interrupt, 0, 1) \ |
301 F(IS_VAR, 1, 1) \ | 300 F(IS_VAR, 1, 1) \ |
302 F(NewReferenceError, 2, 1) \ | 301 F(NewReferenceError, 2, 1) \ |
303 F(NewSyntaxError, 2, 1) \ | 302 F(NewSyntaxError, 2, 1) \ |
304 F(NewTypeError, 2, 1) \ | 303 F(NewTypeError, 2, 1) \ |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 | 1144 |
1146 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1147 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1148 STATIC_ASSERT(LANGUAGE_END == 2); | 1147 STATIC_ASSERT(LANGUAGE_END == 2); |
1149 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1150 | 1149 |
1151 } // namespace internal | 1150 } // namespace internal |
1152 } // namespace v8 | 1151 } // namespace v8 |
1153 | 1152 |
1154 #endif // V8_RUNTIME_RUNTIME_H_ | 1153 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |