| 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 F(ThrowCalledNonCallable, 1, 1) | 360 F(ThrowCalledNonCallable, 1, 1) |
| 361 | 361 |
| 362 | 362 |
| 363 #define FOR_EACH_INTRINSIC_JSON(F) \ | 363 #define FOR_EACH_INTRINSIC_JSON(F) \ |
| 364 F(QuoteJSONString, 1, 1) \ | 364 F(QuoteJSONString, 1, 1) \ |
| 365 F(BasicJSONStringify, 1, 1) \ | 365 F(BasicJSONStringify, 1, 1) \ |
| 366 F(ParseJson, 1, 1) | 366 F(ParseJson, 1, 1) |
| 367 | 367 |
| 368 | 368 |
| 369 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 369 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
| 370 F(CreateRegExpLiteral, 4, 1) \ |
| 370 F(CreateObjectLiteral, 4, 1) \ | 371 F(CreateObjectLiteral, 4, 1) \ |
| 371 F(CreateArrayLiteral, 4, 1) \ | 372 F(CreateArrayLiteral, 4, 1) \ |
| 372 F(CreateArrayLiteralStubBailout, 3, 1) \ | 373 F(CreateArrayLiteralStubBailout, 3, 1) \ |
| 373 F(StoreArrayLiteralElement, 5, 1) | 374 F(StoreArrayLiteralElement, 5, 1) |
| 374 | 375 |
| 375 | 376 |
| 376 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 377 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
| 377 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 378 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
| 378 F(LiveEditGatherCompileInfo, 2, 1) \ | 379 F(LiveEditGatherCompileInfo, 2, 1) \ |
| 379 F(LiveEditReplaceScript, 3, 1) \ | 380 F(LiveEditReplaceScript, 3, 1) \ |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 | 558 |
| 558 | 559 |
| 559 #define FOR_EACH_INTRINSIC_REGEXP(F) \ | 560 #define FOR_EACH_INTRINSIC_REGEXP(F) \ |
| 560 F(StringReplaceGlobalRegExpWithString, 4, 1) \ | 561 F(StringReplaceGlobalRegExpWithString, 4, 1) \ |
| 561 F(StringSplit, 3, 1) \ | 562 F(StringSplit, 3, 1) \ |
| 562 F(RegExpExec, 4, 1) \ | 563 F(RegExpExec, 4, 1) \ |
| 563 F(RegExpFlags, 1, 1) \ | 564 F(RegExpFlags, 1, 1) \ |
| 564 F(RegExpSource, 1, 1) \ | 565 F(RegExpSource, 1, 1) \ |
| 565 F(RegExpConstructResult, 3, 1) \ | 566 F(RegExpConstructResult, 3, 1) \ |
| 566 F(RegExpInitializeAndCompile, 3, 1) \ | 567 F(RegExpInitializeAndCompile, 3, 1) \ |
| 567 F(MaterializeRegExpLiteral, 4, 1) \ | |
| 568 F(RegExpExecMultiple, 4, 1) \ | 568 F(RegExpExecMultiple, 4, 1) \ |
| 569 F(RegExpExecReThrow, 4, 1) \ | 569 F(RegExpExecReThrow, 4, 1) \ |
| 570 F(IsRegExp, 1, 1) | 570 F(IsRegExp, 1, 1) |
| 571 | 571 |
| 572 | 572 |
| 573 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 573 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
| 574 F(ThrowConstAssignError, 0, 1) \ | 574 F(ThrowConstAssignError, 0, 1) \ |
| 575 F(DeclareGlobals, 2, 1) \ | 575 F(DeclareGlobals, 2, 1) \ |
| 576 F(InitializeVarGlobal, 3, 1) \ | 576 F(InitializeVarGlobal, 3, 1) \ |
| 577 F(InitializeConstGlobal, 2, 1) \ | 577 F(InitializeConstGlobal, 2, 1) \ |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1263 | 1263 |
| 1264 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1264 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1265 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1265 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1266 STATIC_ASSERT(LANGUAGE_END == 3); | 1266 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1267 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1267 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1268 | 1268 |
| 1269 } // namespace internal | 1269 } // namespace internal |
| 1270 } // namespace v8 | 1270 } // namespace v8 |
| 1271 | 1271 |
| 1272 #endif // V8_RUNTIME_RUNTIME_H_ | 1272 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |