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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 F(NotifyContextDisposed, 0, 1) \ | 91 F(NotifyContextDisposed, 0, 1) \ |
92 \ | 92 \ |
93 /* Array join support */ \ | 93 /* Array join support */ \ |
94 F(PushIfAbsent, 2, 1) \ | 94 F(PushIfAbsent, 2, 1) \ |
95 F(ArrayConcat, 1, 1) \ | 95 F(ArrayConcat, 1, 1) \ |
96 \ | 96 \ |
97 /* Conversions */ \ | 97 /* Conversions */ \ |
98 F(ToBool, 1, 1) \ | 98 F(ToBool, 1, 1) \ |
99 F(Typeof, 1, 1) \ | 99 F(Typeof, 1, 1) \ |
100 \ | 100 \ |
101 F(Booleanize, 2, 1) /* TODO(turbofan): Only temporary */ \ | |
102 \ | |
103 F(StringToNumber, 1, 1) \ | 101 F(StringToNumber, 1, 1) \ |
104 F(StringParseInt, 2, 1) \ | 102 F(StringParseInt, 2, 1) \ |
105 F(StringParseFloat, 1, 1) \ | 103 F(StringParseFloat, 1, 1) \ |
106 F(StringToLowerCase, 1, 1) \ | 104 F(StringToLowerCase, 1, 1) \ |
107 F(StringToUpperCase, 1, 1) \ | 105 F(StringToUpperCase, 1, 1) \ |
108 F(StringSplit, 3, 1) \ | 106 F(StringSplit, 3, 1) \ |
109 F(CharFromCode, 1, 1) \ | 107 F(CharFromCode, 1, 1) \ |
110 F(URIEscape, 1, 1) \ | 108 F(URIEscape, 1, 1) \ |
111 F(URIUnescape, 1, 1) \ | 109 F(URIUnescape, 1, 1) \ |
112 \ | 110 \ |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 | 897 |
900 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 898 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
901 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 899 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
902 STATIC_ASSERT(LANGUAGE_END == 3); | 900 STATIC_ASSERT(LANGUAGE_END == 3); |
903 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 901 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
904 | 902 |
905 } // namespace internal | 903 } // namespace internal |
906 } // namespace v8 | 904 } // namespace v8 |
907 | 905 |
908 #endif // V8_RUNTIME_RUNTIME_H_ | 906 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |