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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 F(CompileOptimized_Concurrent, 1, 1) \ | 130 F(CompileOptimized_Concurrent, 1, 1) \ |
131 F(CompileOptimized_NotConcurrent, 1, 1) \ | 131 F(CompileOptimized_NotConcurrent, 1, 1) \ |
132 F(NotifyStubFailure, 0, 1) \ | 132 F(NotifyStubFailure, 0, 1) \ |
133 F(NotifyDeoptimized, 1, 1) \ | 133 F(NotifyDeoptimized, 1, 1) \ |
134 F(CompileForOnStackReplacement, 1, 1) \ | 134 F(CompileForOnStackReplacement, 1, 1) \ |
135 F(TryInstallOptimizedCode, 1, 1) \ | 135 F(TryInstallOptimizedCode, 1, 1) \ |
136 F(ResolvePossiblyDirectEval, 5, 1) | 136 F(ResolvePossiblyDirectEval, 5, 1) |
137 | 137 |
138 | 138 |
139 #define FOR_EACH_INTRINSIC_DATE(F) \ | 139 #define FOR_EACH_INTRINSIC_DATE(F) \ |
140 F(DateMakeDay, 2, 1) \ | |
141 F(DateSetValue, 3, 1) \ | |
142 F(IsDate, 1, 1) \ | 140 F(IsDate, 1, 1) \ |
143 F(ThrowNotDateError, 0, 1) \ | |
144 F(DateCurrentTime, 0, 1) \ | 141 F(DateCurrentTime, 0, 1) \ |
145 F(DateLocalTimezone, 1, 1) \ | 142 F(ThrowNotDateError, 0, 1) |
146 F(DateCacheVersion, 0, 1) \ | |
147 F(DateField, 2 /* date object, field index */, 1) | |
148 | 143 |
149 | 144 |
150 #define FOR_EACH_INTRINSIC_DEBUG(F) \ | 145 #define FOR_EACH_INTRINSIC_DEBUG(F) \ |
151 F(HandleDebuggerStatement, 0, 1) \ | 146 F(HandleDebuggerStatement, 0, 1) \ |
152 F(DebugBreak, 0, 1) \ | 147 F(DebugBreak, 0, 1) \ |
153 F(SetDebugEventListener, 2, 1) \ | 148 F(SetDebugEventListener, 2, 1) \ |
154 F(ScheduleBreak, 0, 1) \ | 149 F(ScheduleBreak, 0, 1) \ |
155 F(DebugGetInternalProperties, 1, 1) \ | 150 F(DebugGetInternalProperties, 1, 1) \ |
156 F(DebugGetPropertyDetails, 2, 1) \ | 151 F(DebugGetPropertyDetails, 2, 1) \ |
157 F(DebugGetProperty, 2, 1) \ | 152 F(DebugGetProperty, 2, 1) \ |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 | 1222 |
1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1223 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1224 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1230 STATIC_ASSERT(LANGUAGE_END == 3); | 1225 STATIC_ASSERT(LANGUAGE_END == 3); |
1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1226 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1232 | 1227 |
1233 } // namespace internal | 1228 } // namespace internal |
1234 } // namespace v8 | 1229 } // namespace v8 |
1235 | 1230 |
1236 #endif // V8_RUNTIME_RUNTIME_H_ | 1231 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |