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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ | 452 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ |
453 F(JSProxyGetTarget, 1, 1) \ | 453 F(JSProxyGetTarget, 1, 1) \ |
454 F(JSProxyGetHandler, 1, 1) \ | 454 F(JSProxyGetHandler, 1, 1) \ |
455 F(JSProxyRevoke, 1, 1) | 455 F(JSProxyRevoke, 1, 1) |
456 | 456 |
457 #define FOR_EACH_INTRINSIC_REGEXP(F) \ | 457 #define FOR_EACH_INTRINSIC_REGEXP(F) \ |
458 F(StringReplaceGlobalRegExpWithString, 4, 1) \ | 458 F(StringReplaceGlobalRegExpWithString, 4, 1) \ |
459 F(StringSplit, 3, 1) \ | 459 F(StringSplit, 3, 1) \ |
460 F(RegExpExec, 4, 1) \ | 460 F(RegExpExec, 4, 1) \ |
461 F(RegExpFlags, 1, 1) \ | 461 F(RegExpFlags, 1, 1) \ |
| 462 F(RegExpReplace, 3, 1) \ |
462 F(RegExpSource, 1, 1) \ | 463 F(RegExpSource, 1, 1) \ |
463 F(RegExpConstructResult, 3, 1) \ | 464 F(RegExpConstructResult, 3, 1) \ |
464 F(RegExpInitializeAndCompile, 3, 1) \ | 465 F(RegExpInitializeAndCompile, 3, 1) \ |
465 F(RegExpExecMultiple, 4, 1) \ | |
466 F(RegExpExecReThrow, 4, 1) \ | 466 F(RegExpExecReThrow, 4, 1) \ |
467 F(IsRegExp, 1, 1) | 467 F(IsRegExp, 1, 1) |
468 | 468 |
469 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 469 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
470 F(ThrowConstAssignError, 0, 1) \ | 470 F(ThrowConstAssignError, 0, 1) \ |
471 F(DeclareGlobals, 3, 1) \ | 471 F(DeclareGlobals, 3, 1) \ |
472 F(DeclareGlobalsForInterpreter, 3, 1) \ | 472 F(DeclareGlobalsForInterpreter, 3, 1) \ |
473 F(InitializeVarGlobal, 3, 1) \ | 473 F(InitializeVarGlobal, 3, 1) \ |
474 F(DeclareEvalFunction, 2, 1) \ | 474 F(DeclareEvalFunction, 2, 1) \ |
475 F(DeclareEvalVar, 1, 1) \ | 475 F(DeclareEvalVar, 1, 1) \ |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 | 1126 |
1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1129 STATIC_ASSERT(LANGUAGE_END == 2); | 1129 STATIC_ASSERT(LANGUAGE_END == 2); |
1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1131 | 1131 |
1132 } // namespace internal | 1132 } // namespace internal |
1133 } // namespace v8 | 1133 } // namespace v8 |
1134 | 1134 |
1135 #endif // V8_RUNTIME_RUNTIME_H_ | 1135 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |