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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 F(TryInstallOptimizedCode, 1, 1) \ | 134 F(TryInstallOptimizedCode, 1, 1) \ |
135 F(ResolvePossiblyDirectEval, 5, 1) | 135 F(ResolvePossiblyDirectEval, 5, 1) |
136 | 136 |
137 | 137 |
138 #define FOR_EACH_INTRINSIC_DATE(F) \ | 138 #define FOR_EACH_INTRINSIC_DATE(F) \ |
139 F(DateMakeDay, 2, 1) \ | 139 F(DateMakeDay, 2, 1) \ |
140 F(DateSetValue, 3, 1) \ | 140 F(DateSetValue, 3, 1) \ |
141 F(IsDate, 1, 1) \ | 141 F(IsDate, 1, 1) \ |
142 F(ThrowNotDateError, 0, 1) \ | 142 F(ThrowNotDateError, 0, 1) \ |
143 F(DateCurrentTime, 0, 1) \ | 143 F(DateCurrentTime, 0, 1) \ |
144 F(DateParseString, 2, 1) \ | |
145 F(DateLocalTimezone, 1, 1) \ | 144 F(DateLocalTimezone, 1, 1) \ |
146 F(DateToUTC, 1, 1) \ | |
147 F(DateCacheVersion, 0, 1) \ | 145 F(DateCacheVersion, 0, 1) \ |
148 F(DateField, 2 /* date object, field index */, 1) | 146 F(DateField, 2 /* date object, field index */, 1) |
149 | 147 |
150 | 148 |
151 #define FOR_EACH_INTRINSIC_DEBUG(F) \ | 149 #define FOR_EACH_INTRINSIC_DEBUG(F) \ |
152 F(HandleDebuggerStatement, 0, 1) \ | 150 F(HandleDebuggerStatement, 0, 1) \ |
153 F(DebugBreak, 0, 1) \ | 151 F(DebugBreak, 0, 1) \ |
154 F(SetDebugEventListener, 2, 1) \ | 152 F(SetDebugEventListener, 2, 1) \ |
155 F(ScheduleBreak, 0, 1) \ | 153 F(ScheduleBreak, 0, 1) \ |
156 F(DebugGetInternalProperties, 1, 1) \ | 154 F(DebugGetInternalProperties, 1, 1) \ |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 | 1236 |
1239 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1237 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1240 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1238 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1241 STATIC_ASSERT(LANGUAGE_END == 3); | 1239 STATIC_ASSERT(LANGUAGE_END == 3); |
1242 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1240 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1243 | 1241 |
1244 } // namespace internal | 1242 } // namespace internal |
1245 } // namespace v8 | 1243 } // namespace v8 |
1246 | 1244 |
1247 #endif // V8_RUNTIME_RUNTIME_H_ | 1245 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |