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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 F(TransitionElementsKind, 2, 1) \ | 420 F(TransitionElementsKind, 2, 1) \ |
421 F(HaveSameMap, 2, 1) \ | 421 F(HaveSameMap, 2, 1) \ |
422 F(IsJSGlobalProxy, 1, 1) \ | 422 F(IsJSGlobalProxy, 1, 1) \ |
423 F(ForInCacheArrayLength, 2, 1) /* TODO(turbofan): Only temporary */ | 423 F(ForInCacheArrayLength, 2, 1) /* TODO(turbofan): Only temporary */ |
424 | 424 |
425 | 425 |
426 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ | 426 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ |
427 /* String and Regexp */ \ | 427 /* String and Regexp */ \ |
428 F(NumberToStringRT, 1, 1) \ | 428 F(NumberToStringRT, 1, 1) \ |
429 F(RegExpConstructResultRT, 3, 1) \ | 429 F(RegExpConstructResultRT, 3, 1) \ |
430 F(RegExpExecRT, 4, 1) \ | |
431 F(StringAddRT, 2, 1) \ | 430 F(StringAddRT, 2, 1) \ |
432 F(SubStringRT, 3, 1) \ | 431 F(SubStringRT, 3, 1) \ |
433 F(InternalizeString, 1, 1) \ | 432 F(InternalizeString, 1, 1) \ |
434 F(StringCompareRT, 2, 1) \ | 433 F(StringCompareRT, 2, 1) \ |
435 F(StringCharCodeAtRT, 2, 1) \ | 434 F(StringCharCodeAtRT, 2, 1) \ |
436 F(GetFromCacheRT, 2, 1) \ | 435 F(GetFromCacheRT, 2, 1) \ |
437 \ | 436 \ |
438 /* Compilation */ \ | 437 /* Compilation */ \ |
439 F(CompileLazy, 1, 1) \ | 438 F(CompileLazy, 1, 1) \ |
440 F(CompileOptimized, 2, 1) \ | 439 F(CompileOptimized, 2, 1) \ |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 | 892 |
894 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 893 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
895 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 894 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
896 STATIC_ASSERT(LANGUAGE_END == 3); | 895 STATIC_ASSERT(LANGUAGE_END == 3); |
897 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 896 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
898 | 897 |
899 } // namespace internal | 898 } // namespace internal |
900 } // namespace v8 | 899 } // namespace v8 |
901 | 900 |
902 #endif // V8_RUNTIME_RUNTIME_H_ | 901 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |