Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/runtime/runtime.h

Issue 1743433002: Revert of [compiler] Drop the CompareNilIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 990 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
991 F(ForInPrepare, 1, 3) 991 F(ForInPrepare, 1, 3)
992 992
993 // Most intrinsics are implemented in the runtime/ directory, but ICs are 993 // Most intrinsics are implemented in the runtime/ directory, but ICs are
994 // implemented in ic.cc for now. 994 // implemented in ic.cc for now.
995 #define FOR_EACH_INTRINSIC_IC(F) \ 995 #define FOR_EACH_INTRINSIC_IC(F) \
996 F(BinaryOpIC_Miss, 2, 1) \ 996 F(BinaryOpIC_Miss, 2, 1) \
997 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ 997 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \
998 F(CallIC_Miss, 3, 1) \ 998 F(CallIC_Miss, 3, 1) \
999 F(CompareIC_Miss, 3, 1) \ 999 F(CompareIC_Miss, 3, 1) \
1000 F(CompareNilIC_Miss, 1, 1) \
1000 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \ 1001 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \
1001 F(KeyedLoadIC_Miss, 4, 1) \ 1002 F(KeyedLoadIC_Miss, 4, 1) \
1002 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ 1003 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \
1003 F(KeyedStoreIC_Miss, 5, 1) \ 1004 F(KeyedStoreIC_Miss, 5, 1) \
1004 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \ 1005 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \
1005 F(KeyedStoreIC_Slow, 5, 1) \ 1006 F(KeyedStoreIC_Slow, 5, 1) \
1006 F(LoadElementWithInterceptor, 2, 1) \ 1007 F(LoadElementWithInterceptor, 2, 1) \
1007 F(LoadIC_Miss, 4, 1) \ 1008 F(LoadIC_Miss, 4, 1) \
1008 F(LoadIC_MissFromStubFailure, 4, 1) \ 1009 F(LoadIC_MissFromStubFailure, 4, 1) \
1009 F(LoadPropertyWithInterceptor, 3, 1) \ 1010 F(LoadPropertyWithInterceptor, 3, 1) \
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1202 1203
1203 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1204 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1204 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1205 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1205 STATIC_ASSERT(LANGUAGE_END == 3); 1206 STATIC_ASSERT(LANGUAGE_END == 3);
1206 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1207 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1207 1208
1208 } // namespace internal 1209 } // namespace internal
1209 } // namespace v8 1210 } // namespace v8
1210 1211
1211 #endif // V8_RUNTIME_RUNTIME_H_ 1212 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698