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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 F(DebugPushPromise, 2, 1) \ | 197 F(DebugPushPromise, 2, 1) \ |
198 F(DebugPopPromise, 0, 1) \ | 198 F(DebugPopPromise, 0, 1) \ |
199 F(DebugPromiseEvent, 1, 1) \ | 199 F(DebugPromiseEvent, 1, 1) \ |
200 F(DebugAsyncTaskEvent, 1, 1) \ | 200 F(DebugAsyncTaskEvent, 1, 1) \ |
201 F(DebugIsActive, 0, 1) \ | 201 F(DebugIsActive, 0, 1) \ |
202 F(DebugBreakInOptimizedCode, 0, 1) | 202 F(DebugBreakInOptimizedCode, 0, 1) |
203 | 203 |
204 | 204 |
205 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 205 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
206 F(ForInDone, 2, 1) \ | 206 F(ForInDone, 2, 1) \ |
| 207 F(ForInEnumerate, 1, 1) \ |
207 F(ForInFilter, 2, 1) \ | 208 F(ForInFilter, 2, 1) \ |
208 F(ForInNext, 4, 1) \ | 209 F(ForInNext, 4, 1) \ |
209 F(ForInStep, 1, 1) | 210 F(ForInStep, 1, 1) |
210 | 211 |
211 | 212 |
212 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ | 213 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ |
213 F(InterpreterEquals, 2, 1) \ | 214 F(InterpreterEquals, 2, 1) \ |
214 F(InterpreterNotEquals, 2, 1) \ | 215 F(InterpreterNotEquals, 2, 1) \ |
215 F(InterpreterStrictEquals, 2, 1) \ | 216 F(InterpreterStrictEquals, 2, 1) \ |
216 F(InterpreterStrictNotEquals, 2, 1) \ | 217 F(InterpreterStrictNotEquals, 2, 1) \ |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 F(StoreGlobalViaContext_Strict, 2, 1) \ | 429 F(StoreGlobalViaContext_Strict, 2, 1) \ |
429 F(AddNamedProperty, 4, 1) \ | 430 F(AddNamedProperty, 4, 1) \ |
430 F(SetProperty, 4, 1) \ | 431 F(SetProperty, 4, 1) \ |
431 F(AddElement, 3, 1) \ | 432 F(AddElement, 3, 1) \ |
432 F(AppendElement, 2, 1) \ | 433 F(AppendElement, 2, 1) \ |
433 F(DeleteProperty_Sloppy, 2, 1) \ | 434 F(DeleteProperty_Sloppy, 2, 1) \ |
434 F(DeleteProperty_Strict, 2, 1) \ | 435 F(DeleteProperty_Strict, 2, 1) \ |
435 F(HasOwnProperty, 2, 1) \ | 436 F(HasOwnProperty, 2, 1) \ |
436 F(HasProperty, 2, 1) \ | 437 F(HasProperty, 2, 1) \ |
437 F(PropertyIsEnumerable, 2, 1) \ | 438 F(PropertyIsEnumerable, 2, 1) \ |
438 F(GetPropertyNamesFast, 1, 1) \ | |
439 F(GetOwnPropertyKeys, 2, 1) \ | 439 F(GetOwnPropertyKeys, 2, 1) \ |
440 F(GetInterceptorInfo, 1, 1) \ | 440 F(GetInterceptorInfo, 1, 1) \ |
441 F(ToFastProperties, 1, 1) \ | 441 F(ToFastProperties, 1, 1) \ |
442 F(AllocateHeapNumber, 0, 1) \ | 442 F(AllocateHeapNumber, 0, 1) \ |
443 F(NewObject, 2, 1) \ | 443 F(NewObject, 2, 1) \ |
444 F(FinalizeInstanceSize, 1, 1) \ | 444 F(FinalizeInstanceSize, 1, 1) \ |
445 F(GlobalProxy, 1, 1) \ | 445 F(GlobalProxy, 1, 1) \ |
446 F(LookupAccessor, 3, 1) \ | 446 F(LookupAccessor, 3, 1) \ |
447 F(LoadMutableDouble, 2, 1) \ | 447 F(LoadMutableDouble, 2, 1) \ |
448 F(TryMigrateInstance, 1, 1) \ | 448 F(TryMigrateInstance, 1, 1) \ |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 | 1256 |
1257 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1257 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1258 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1258 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1259 STATIC_ASSERT(LANGUAGE_END == 3); | 1259 STATIC_ASSERT(LANGUAGE_END == 3); |
1260 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1260 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1261 | 1261 |
1262 } // namespace internal | 1262 } // namespace internal |
1263 } // namespace v8 | 1263 } // namespace v8 |
1264 | 1264 |
1265 #endif // V8_RUNTIME_RUNTIME_H_ | 1265 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |