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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 F(IsSmi, 1, 1) \ | 374 F(IsSmi, 1, 1) \ |
375 F(GetRootNaN, 0, 1) \ | 375 F(GetRootNaN, 0, 1) \ |
376 F(GetHoleNaNUpper, 0, 1) \ | 376 F(GetHoleNaNUpper, 0, 1) \ |
377 F(GetHoleNaNLower, 0, 1) | 377 F(GetHoleNaNLower, 0, 1) |
378 | 378 |
379 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 379 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
380 F(GetPrototype, 1, 1) \ | 380 F(GetPrototype, 1, 1) \ |
381 F(ObjectHasOwnProperty, 2, 1) \ | 381 F(ObjectHasOwnProperty, 2, 1) \ |
382 F(InternalSetPrototype, 2, 1) \ | 382 F(InternalSetPrototype, 2, 1) \ |
383 F(SetPrototype, 2, 1) \ | 383 F(SetPrototype, 2, 1) \ |
384 F(GetOwnProperty_Legacy, 2, 1) \ | |
385 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 384 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
386 F(GetProperty, 2, 1) \ | 385 F(GetProperty, 2, 1) \ |
387 F(KeyedGetProperty, 2, 1) \ | 386 F(KeyedGetProperty, 2, 1) \ |
388 F(LoadGlobalViaContext, 1, 1) \ | 387 F(LoadGlobalViaContext, 1, 1) \ |
389 F(StoreGlobalViaContext_Sloppy, 2, 1) \ | 388 F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
390 F(StoreGlobalViaContext_Strict, 2, 1) \ | 389 F(StoreGlobalViaContext_Strict, 2, 1) \ |
391 F(AddNamedProperty, 4, 1) \ | 390 F(AddNamedProperty, 4, 1) \ |
392 F(SetProperty, 4, 1) \ | 391 F(SetProperty, 4, 1) \ |
393 F(AddElement, 3, 1) \ | 392 F(AddElement, 3, 1) \ |
394 F(AppendElement, 2, 1) \ | 393 F(AppendElement, 2, 1) \ |
395 F(DeleteProperty_Sloppy, 2, 1) \ | 394 F(DeleteProperty_Sloppy, 2, 1) \ |
396 F(DeleteProperty_Strict, 2, 1) \ | 395 F(DeleteProperty_Strict, 2, 1) \ |
397 F(HasProperty, 2, 1) \ | 396 F(HasProperty, 2, 1) \ |
398 F(PropertyIsEnumerable, 2, 1) \ | 397 F(PropertyIsEnumerable, 2, 1) \ |
399 F(GetOwnPropertyKeys, 2, 1) \ | 398 F(GetOwnPropertyKeys, 2, 1) \ |
400 F(GetInterceptorInfo, 1, 1) \ | 399 F(GetInterceptorInfo, 1, 1) \ |
401 F(ToFastProperties, 1, 1) \ | 400 F(ToFastProperties, 1, 1) \ |
402 F(AllocateHeapNumber, 0, 1) \ | 401 F(AllocateHeapNumber, 0, 1) \ |
403 F(NewObject, 2, 1) \ | 402 F(NewObject, 2, 1) \ |
404 F(FinalizeInstanceSize, 1, 1) \ | 403 F(FinalizeInstanceSize, 1, 1) \ |
405 F(GlobalProxy, 1, 1) \ | |
406 F(LookupAccessor, 3, 1) \ | |
407 F(LoadMutableDouble, 2, 1) \ | 404 F(LoadMutableDouble, 2, 1) \ |
408 F(TryMigrateInstance, 1, 1) \ | 405 F(TryMigrateInstance, 1, 1) \ |
409 F(IsJSGlobalProxy, 1, 1) \ | 406 F(IsJSGlobalProxy, 1, 1) \ |
410 F(DefineAccessorPropertyUnchecked, 5, 1) \ | 407 F(DefineAccessorPropertyUnchecked, 5, 1) \ |
411 F(DefineDataPropertyInLiteral, 5, 1) \ | 408 F(DefineDataPropertyInLiteral, 5, 1) \ |
412 F(GetDataProperty, 2, 1) \ | 409 F(GetDataProperty, 2, 1) \ |
413 F(HasFastPackedElements, 1, 1) \ | 410 F(HasFastPackedElements, 1, 1) \ |
414 F(ValueOf, 1, 1) \ | 411 F(ValueOf, 1, 1) \ |
415 F(IsJSReceiver, 1, 1) \ | 412 F(IsJSReceiver, 1, 1) \ |
416 F(ClassOf, 1, 1) \ | 413 F(ClassOf, 1, 1) \ |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 | 1159 |
1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1160 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1161 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1165 STATIC_ASSERT(LANGUAGE_END == 3); | 1162 STATIC_ASSERT(LANGUAGE_END == 3); |
1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1163 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1167 | 1164 |
1168 } // namespace internal | 1165 } // namespace internal |
1169 } // namespace v8 | 1166 } // namespace v8 |
1170 | 1167 |
1171 #endif // V8_RUNTIME_RUNTIME_H_ | 1168 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |