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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 F(GetHoleNaNUpper, 0, 1) \ | 369 F(GetHoleNaNUpper, 0, 1) \ |
370 F(GetHoleNaNLower, 0, 1) | 370 F(GetHoleNaNLower, 0, 1) |
371 | 371 |
372 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 372 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
373 F(GetPrototype, 1, 1) \ | 373 F(GetPrototype, 1, 1) \ |
374 F(ObjectHasOwnProperty, 2, 1) \ | 374 F(ObjectHasOwnProperty, 2, 1) \ |
375 F(InternalSetPrototype, 2, 1) \ | 375 F(InternalSetPrototype, 2, 1) \ |
376 F(SetPrototype, 2, 1) \ | 376 F(SetPrototype, 2, 1) \ |
377 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 377 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
378 F(GetProperty, 2, 1) \ | 378 F(GetProperty, 2, 1) \ |
379 F(GetGlobalInsideTypeof, 2, 1) \ | 379 F(GetGlobal, 3, 1) \ |
380 F(GetGlobalNotInsideTypeof, 2, 1) \ | |
381 F(KeyedGetProperty, 2, 1) \ | 380 F(KeyedGetProperty, 2, 1) \ |
382 F(StoreGlobalViaContext_Sloppy, 2, 1) \ | 381 F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
383 F(StoreGlobalViaContext_Strict, 2, 1) \ | 382 F(StoreGlobalViaContext_Strict, 2, 1) \ |
384 F(AddNamedProperty, 4, 1) \ | 383 F(AddNamedProperty, 4, 1) \ |
385 F(SetProperty, 4, 1) \ | 384 F(SetProperty, 4, 1) \ |
386 F(AddElement, 3, 1) \ | 385 F(AddElement, 3, 1) \ |
387 F(AppendElement, 2, 1) \ | 386 F(AppendElement, 2, 1) \ |
388 F(DeleteProperty_Sloppy, 2, 1) \ | 387 F(DeleteProperty_Sloppy, 2, 1) \ |
389 F(DeleteProperty_Strict, 2, 1) \ | 388 F(DeleteProperty_Strict, 2, 1) \ |
390 F(HasProperty, 2, 1) \ | 389 F(HasProperty, 2, 1) \ |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 F(KeyedStoreIC_Slow, 5, 1) \ | 942 F(KeyedStoreIC_Slow, 5, 1) \ |
944 F(LoadElementWithInterceptor, 2, 1) \ | 943 F(LoadElementWithInterceptor, 2, 1) \ |
945 F(LoadGlobalIC_Miss, 2, 1) \ | 944 F(LoadGlobalIC_Miss, 2, 1) \ |
946 F(LoadIC_Miss, 4, 1) \ | 945 F(LoadIC_Miss, 4, 1) \ |
947 F(LoadIC_MissFromStubFailure, 4, 1) \ | 946 F(LoadIC_MissFromStubFailure, 4, 1) \ |
948 F(LoadPropertyWithInterceptor, 3, 1) \ | 947 F(LoadPropertyWithInterceptor, 3, 1) \ |
949 F(LoadPropertyWithInterceptorOnly, 3, 1) \ | 948 F(LoadPropertyWithInterceptorOnly, 3, 1) \ |
950 F(StoreCallbackProperty, 6, 1) \ | 949 F(StoreCallbackProperty, 6, 1) \ |
951 F(StoreIC_Miss, 5, 1) \ | 950 F(StoreIC_Miss, 5, 1) \ |
952 F(StoreIC_MissFromStubFailure, 5, 1) \ | 951 F(StoreIC_MissFromStubFailure, 5, 1) \ |
953 F(StoreIC_Slow, 5, 1) \ | |
954 F(StorePropertyWithInterceptor, 3, 1) \ | 952 F(StorePropertyWithInterceptor, 3, 1) \ |
955 F(ToBooleanIC_Miss, 1, 1) \ | 953 F(ToBooleanIC_Miss, 1, 1) \ |
956 F(Unreachable, 0, 1) | 954 F(Unreachable, 0, 1) |
957 | 955 |
958 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 956 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
959 FOR_EACH_INTRINSIC_IC(F) \ | 957 FOR_EACH_INTRINSIC_IC(F) \ |
960 FOR_EACH_INTRINSIC_ARRAY(F) \ | 958 FOR_EACH_INTRINSIC_ARRAY(F) \ |
961 FOR_EACH_INTRINSIC_ATOMICS(F) \ | 959 FOR_EACH_INTRINSIC_ATOMICS(F) \ |
962 FOR_EACH_INTRINSIC_CLASSES(F) \ | 960 FOR_EACH_INTRINSIC_CLASSES(F) \ |
963 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 961 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 | 1132 |
1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1133 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1134 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1137 STATIC_ASSERT(LANGUAGE_END == 3); | 1135 STATIC_ASSERT(LANGUAGE_END == 3); |
1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1136 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1139 | 1137 |
1140 } // namespace internal | 1138 } // namespace internal |
1141 } // namespace v8 | 1139 } // namespace v8 |
1142 | 1140 |
1143 #endif // V8_RUNTIME_RUNTIME_H_ | 1141 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |