| 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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 980 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
| 981 F(ForInPrepare, 1, 3) | 981 F(ForInPrepare, 1, 3) |
| 982 | 982 |
| 983 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 983 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
| 984 // implemented in ic.cc for now. | 984 // implemented in ic.cc for now. |
| 985 #define FOR_EACH_INTRINSIC_IC(F) \ | 985 #define FOR_EACH_INTRINSIC_IC(F) \ |
| 986 F(BinaryOpIC_Miss, 2, 1) \ | 986 F(BinaryOpIC_Miss, 2, 1) \ |
| 987 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ | 987 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ |
| 988 F(CallIC_Miss, 3, 1) \ | 988 F(CallIC_Miss, 3, 1) \ |
| 989 F(CompareIC_Miss, 3, 1) \ | 989 F(CompareIC_Miss, 3, 1) \ |
| 990 F(CompareNilIC_Miss, 1, 1) \ | |
| 991 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \ | 990 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \ |
| 992 F(KeyedLoadIC_Miss, 4, 1) \ | 991 F(KeyedLoadIC_Miss, 4, 1) \ |
| 993 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ | 992 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ |
| 994 F(KeyedStoreIC_Miss, 5, 1) \ | 993 F(KeyedStoreIC_Miss, 5, 1) \ |
| 995 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \ | 994 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \ |
| 996 F(KeyedStoreIC_Slow, 5, 1) \ | 995 F(KeyedStoreIC_Slow, 5, 1) \ |
| 997 F(LoadElementWithInterceptor, 2, 1) \ | 996 F(LoadElementWithInterceptor, 2, 1) \ |
| 998 F(LoadIC_Miss, 4, 1) \ | 997 F(LoadIC_Miss, 4, 1) \ |
| 999 F(LoadIC_MissFromStubFailure, 4, 1) \ | 998 F(LoadIC_MissFromStubFailure, 4, 1) \ |
| 1000 F(LoadPropertyWithInterceptor, 3, 1) \ | 999 F(LoadPropertyWithInterceptor, 3, 1) \ |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 | 1192 |
| 1194 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1193 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1195 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1194 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1196 STATIC_ASSERT(LANGUAGE_END == 3); | 1195 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1197 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1196 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1198 | 1197 |
| 1199 } // namespace internal | 1198 } // namespace internal |
| 1200 } // namespace v8 | 1199 } // namespace v8 |
| 1201 | 1200 |
| 1202 #endif // V8_RUNTIME_RUNTIME_H_ | 1201 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |