| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ | 312 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ |
| 313 F(CheckIsBootstrapping, 0, 1) \ | 313 F(CheckIsBootstrapping, 0, 1) \ |
| 314 F(ExportFromRuntime, 1, 1) \ | 314 F(ExportFromRuntime, 1, 1) \ |
| 315 F(ExportExperimentalFromRuntime, 1, 1) \ | 315 F(ExportExperimentalFromRuntime, 1, 1) \ |
| 316 F(InstallToContext, 1, 1) \ | 316 F(InstallToContext, 1, 1) \ |
| 317 F(Throw, 1, 1) \ | 317 F(Throw, 1, 1) \ |
| 318 F(ReThrow, 1, 1) \ | 318 F(ReThrow, 1, 1) \ |
| 319 F(UnwindAndFindExceptionHandler, 0, 1) \ | 319 F(UnwindAndFindExceptionHandler, 0, 1) \ |
| 320 F(PromoteScheduledException, 0, 1) \ | 320 F(PromoteScheduledException, 0, 1) \ |
| 321 F(ThrowReferenceError, 1, 1) \ | 321 F(ThrowReferenceError, 1, 1) \ |
| 322 F(ThrowApplyNonFunction, 1, 1) \ | |
| 323 F(NewTypeError, 2, 1) \ | 322 F(NewTypeError, 2, 1) \ |
| 324 F(NewSyntaxError, 2, 1) \ | 323 F(NewSyntaxError, 2, 1) \ |
| 325 F(NewReferenceError, 2, 1) \ | 324 F(NewReferenceError, 2, 1) \ |
| 326 F(ThrowIllegalInvocation, 0, 1) \ | 325 F(ThrowIllegalInvocation, 0, 1) \ |
| 327 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 326 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 328 F(ThrowStackOverflow, 0, 1) \ | 327 F(ThrowStackOverflow, 0, 1) \ |
| 329 F(ThrowStrongModeImplicitConversion, 0, 1) \ | 328 F(ThrowStrongModeImplicitConversion, 0, 1) \ |
| 330 F(PromiseRejectEvent, 3, 1) \ | 329 F(PromiseRejectEvent, 3, 1) \ |
| 331 F(PromiseRevokeReject, 1, 1) \ | 330 F(PromiseRevokeReject, 1, 1) \ |
| 332 F(StackGuard, 0, 1) \ | 331 F(StackGuard, 0, 1) \ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 343 F(CallSiteGetMethodNameRT, 1, 1) \ | 342 F(CallSiteGetMethodNameRT, 1, 1) \ |
| 344 F(CallSiteGetLineNumberRT, 1, 1) \ | 343 F(CallSiteGetLineNumberRT, 1, 1) \ |
| 345 F(CallSiteGetColumnNumberRT, 1, 1) \ | 344 F(CallSiteGetColumnNumberRT, 1, 1) \ |
| 346 F(CallSiteIsNativeRT, 1, 1) \ | 345 F(CallSiteIsNativeRT, 1, 1) \ |
| 347 F(CallSiteIsToplevelRT, 1, 1) \ | 346 F(CallSiteIsToplevelRT, 1, 1) \ |
| 348 F(CallSiteIsEvalRT, 1, 1) \ | 347 F(CallSiteIsEvalRT, 1, 1) \ |
| 349 F(CallSiteIsConstructorRT, 1, 1) \ | 348 F(CallSiteIsConstructorRT, 1, 1) \ |
| 350 F(IS_VAR, 1, 1) \ | 349 F(IS_VAR, 1, 1) \ |
| 351 F(IncrementStatsCounter, 1, 1) \ | 350 F(IncrementStatsCounter, 1, 1) \ |
| 352 F(ThrowConstructedNonConstructable, 1, 1) \ | 351 F(ThrowConstructedNonConstructable, 1, 1) \ |
| 353 F(ThrowCalledNonCallable, 1, 1) \ | 352 F(ThrowCalledNonCallable, 1, 1) |
| 354 F(CreateListFromArrayLike, 1, 1) | |
| 355 | 353 |
| 356 | 354 |
| 357 #define FOR_EACH_INTRINSIC_JSON(F) \ | 355 #define FOR_EACH_INTRINSIC_JSON(F) \ |
| 358 F(QuoteJSONString, 1, 1) \ | 356 F(QuoteJSONString, 1, 1) \ |
| 359 F(BasicJSONStringify, 1, 1) \ | 357 F(BasicJSONStringify, 1, 1) \ |
| 360 F(ParseJson, 1, 1) | 358 F(ParseJson, 1, 1) |
| 361 | 359 |
| 362 | 360 |
| 363 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 361 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
| 364 F(CreateRegExpLiteral, 4, 1) \ | 362 F(CreateRegExpLiteral, 4, 1) \ |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1251 | 1249 |
| 1252 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1250 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1253 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1251 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1254 STATIC_ASSERT(LANGUAGE_END == 3); | 1252 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1255 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1253 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1256 | 1254 |
| 1257 } // namespace internal | 1255 } // namespace internal |
| 1258 } // namespace v8 | 1256 } // namespace v8 |
| 1259 | 1257 |
| 1260 #endif // V8_RUNTIME_RUNTIME_H_ | 1258 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |