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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 F(KeyedGetProperty, 2, 1) \ | 381 F(KeyedGetProperty, 2, 1) \ |
382 F(StoreGlobalViaContext_Sloppy, 2, 1) \ | 382 F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
383 F(StoreGlobalViaContext_Strict, 2, 1) \ | 383 F(StoreGlobalViaContext_Strict, 2, 1) \ |
384 F(AddNamedProperty, 4, 1) \ | 384 F(AddNamedProperty, 4, 1) \ |
385 F(SetProperty, 4, 1) \ | 385 F(SetProperty, 4, 1) \ |
386 F(AddElement, 3, 1) \ | 386 F(AddElement, 3, 1) \ |
387 F(AppendElement, 2, 1) \ | 387 F(AppendElement, 2, 1) \ |
388 F(DeleteProperty_Sloppy, 2, 1) \ | 388 F(DeleteProperty_Sloppy, 2, 1) \ |
389 F(DeleteProperty_Strict, 2, 1) \ | 389 F(DeleteProperty_Strict, 2, 1) \ |
390 F(HasProperty, 2, 1) \ | 390 F(HasProperty, 2, 1) \ |
391 F(PropertyIsEnumerable, 2, 1) \ | |
392 F(GetOwnPropertyKeys, 2, 1) \ | 391 F(GetOwnPropertyKeys, 2, 1) \ |
393 F(GetInterceptorInfo, 1, 1) \ | 392 F(GetInterceptorInfo, 1, 1) \ |
394 F(ToFastProperties, 1, 1) \ | 393 F(ToFastProperties, 1, 1) \ |
395 F(AllocateHeapNumber, 0, 1) \ | 394 F(AllocateHeapNumber, 0, 1) \ |
396 F(NewObject, 2, 1) \ | 395 F(NewObject, 2, 1) \ |
397 F(FinalizeInstanceSize, 1, 1) \ | 396 F(FinalizeInstanceSize, 1, 1) \ |
398 F(LoadMutableDouble, 2, 1) \ | 397 F(LoadMutableDouble, 2, 1) \ |
399 F(TryMigrateInstance, 1, 1) \ | 398 F(TryMigrateInstance, 1, 1) \ |
400 F(IsJSGlobalProxy, 1, 1) \ | 399 F(IsJSGlobalProxy, 1, 1) \ |
401 F(DefineAccessorPropertyUnchecked, 5, 1) \ | 400 F(DefineAccessorPropertyUnchecked, 5, 1) \ |
402 F(DefineDataPropertyInLiteral, 5, 1) \ | 401 F(DefineDataPropertyInLiteral, 5, 1) \ |
403 F(GetDataProperty, 2, 1) \ | 402 F(GetDataProperty, 2, 1) \ |
404 F(GetConstructorName, 1, 1) \ | 403 F(GetConstructorName, 1, 1) \ |
405 F(HasFastPackedElements, 1, 1) \ | 404 F(HasFastPackedElements, 1, 1) \ |
406 F(ValueOf, 1, 1) \ | 405 F(ValueOf, 1, 1) \ |
407 F(IsJSReceiver, 1, 1) \ | 406 F(IsJSReceiver, 1, 1) \ |
408 F(ClassOf, 1, 1) \ | 407 F(ClassOf, 1, 1) \ |
409 F(DefineGetterPropertyUnchecked, 4, 1) \ | 408 F(DefineGetterPropertyUnchecked, 4, 1) \ |
410 F(DefineSetterPropertyUnchecked, 4, 1) \ | 409 F(DefineSetterPropertyUnchecked, 4, 1) \ |
411 F(ToObject, 1, 1) \ | 410 F(ToObject, 1, 1) \ |
412 F(ToPrimitive, 1, 1) \ | 411 F(ToPrimitive, 1, 1) \ |
413 F(ToPrimitive_Number, 1, 1) \ | 412 F(ToPrimitive_Number, 1, 1) \ |
414 F(ToPrimitive_String, 1, 1) \ | |
415 F(ToNumber, 1, 1) \ | 413 F(ToNumber, 1, 1) \ |
416 F(ToInteger, 1, 1) \ | 414 F(ToInteger, 1, 1) \ |
417 F(ToLength, 1, 1) \ | 415 F(ToLength, 1, 1) \ |
418 F(ToString, 1, 1) \ | 416 F(ToString, 1, 1) \ |
419 F(ToName, 1, 1) \ | 417 F(ToName, 1, 1) \ |
420 F(SameValue, 2, 1) \ | 418 F(SameValue, 2, 1) \ |
421 F(SameValueZero, 2, 1) \ | 419 F(SameValueZero, 2, 1) \ |
422 F(Compare, 3, 1) \ | 420 F(Compare, 3, 1) \ |
423 F(HasInPrototypeChain, 2, 1) \ | 421 F(HasInPrototypeChain, 2, 1) \ |
424 F(CreateIterResultObject, 2, 1) \ | 422 F(CreateIterResultObject, 2, 1) \ |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 | 1134 |
1137 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1138 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1139 STATIC_ASSERT(LANGUAGE_END == 3); | 1137 STATIC_ASSERT(LANGUAGE_END == 3); |
1140 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1141 | 1139 |
1142 } // namespace internal | 1140 } // namespace internal |
1143 } // namespace v8 | 1141 } // namespace v8 |
1144 | 1142 |
1145 #endif // V8_RUNTIME_RUNTIME_H_ | 1143 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |