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/zone.h" | 10 #include "src/zone.h" |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ | 429 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ |
430 /* String and Regexp */ \ | 430 /* String and Regexp */ \ |
431 F(NumberToStringRT, 1, 1) \ | 431 F(NumberToStringRT, 1, 1) \ |
432 F(RegExpConstructResult, 3, 1) \ | 432 F(RegExpConstructResult, 3, 1) \ |
433 F(RegExpExecRT, 4, 1) \ | 433 F(RegExpExecRT, 4, 1) \ |
434 F(StringAdd, 2, 1) \ | 434 F(StringAdd, 2, 1) \ |
435 F(SubString, 3, 1) \ | 435 F(SubString, 3, 1) \ |
436 F(InternalizeString, 1, 1) \ | 436 F(InternalizeString, 1, 1) \ |
437 F(StringCompare, 2, 1) \ | 437 F(StringCompare, 2, 1) \ |
438 F(StringCharCodeAtRT, 2, 1) \ | 438 F(StringCharCodeAtRT, 2, 1) \ |
439 F(GetFromCache, 2, 1) \ | 439 F(GetFromCacheRT, 2, 1) \ |
440 \ | 440 \ |
441 /* Compilation */ \ | 441 /* Compilation */ \ |
442 F(CompileLazy, 1, 1) \ | 442 F(CompileLazy, 1, 1) \ |
443 F(CompileOptimized, 2, 1) \ | 443 F(CompileOptimized, 2, 1) \ |
444 F(TryInstallOptimizedCode, 1, 1) \ | 444 F(TryInstallOptimizedCode, 1, 1) \ |
445 F(NotifyDeoptimized, 1, 1) \ | 445 F(NotifyDeoptimized, 1, 1) \ |
446 F(NotifyStubFailure, 0, 1) \ | 446 F(NotifyStubFailure, 0, 1) \ |
447 \ | 447 \ |
448 /* Utilities */ \ | 448 /* Utilities */ \ |
449 F(AllocateInNewSpace, 1, 1) \ | 449 F(AllocateInNewSpace, 1, 1) \ |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 | 902 |
903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
905 STATIC_ASSERT(LANGUAGE_END == 3); | 905 STATIC_ASSERT(LANGUAGE_END == 3); |
906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
907 | 907 |
908 } // namespace internal | 908 } // namespace internal |
909 } // namespace v8 | 909 } // namespace v8 |
910 | 910 |
911 #endif // V8_RUNTIME_RUNTIME_H_ | 911 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |