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

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

Issue 2084913006: [ic] Let LoadGlobalIC load the variable name from TypeFeedbackMetadata. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix-load-ic-slow-stub
Patch Set: Addressing comments Created 4 years, 5 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-printer.cc ('k') | src/runtime/runtime-object.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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 F(GetHoleNaNUpper, 0, 1) \ 377 F(GetHoleNaNUpper, 0, 1) \
378 F(GetHoleNaNLower, 0, 1) 378 F(GetHoleNaNLower, 0, 1)
379 379
380 #define FOR_EACH_INTRINSIC_OBJECT(F) \ 380 #define FOR_EACH_INTRINSIC_OBJECT(F) \
381 F(GetPrototype, 1, 1) \ 381 F(GetPrototype, 1, 1) \
382 F(ObjectHasOwnProperty, 2, 1) \ 382 F(ObjectHasOwnProperty, 2, 1) \
383 F(InternalSetPrototype, 2, 1) \ 383 F(InternalSetPrototype, 2, 1) \
384 F(SetPrototype, 2, 1) \ 384 F(SetPrototype, 2, 1) \
385 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 385 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
386 F(GetProperty, 2, 1) \ 386 F(GetProperty, 2, 1) \
387 F(GetGlobalInsideTypeof, 1, 1) \ 387 F(GetGlobalInsideTypeof, 2, 1) \
388 F(GetGlobalNotInsideTypeof, 1, 1) \ 388 F(GetGlobalNotInsideTypeof, 2, 1) \
389 F(KeyedGetProperty, 2, 1) \ 389 F(KeyedGetProperty, 2, 1) \
390 F(StoreGlobalViaContext_Sloppy, 2, 1) \ 390 F(StoreGlobalViaContext_Sloppy, 2, 1) \
391 F(StoreGlobalViaContext_Strict, 2, 1) \ 391 F(StoreGlobalViaContext_Strict, 2, 1) \
392 F(AddNamedProperty, 4, 1) \ 392 F(AddNamedProperty, 4, 1) \
393 F(SetProperty, 4, 1) \ 393 F(SetProperty, 4, 1) \
394 F(AddElement, 3, 1) \ 394 F(AddElement, 3, 1) \
395 F(AppendElement, 2, 1) \ 395 F(AppendElement, 2, 1) \
396 F(DeleteProperty_Sloppy, 2, 1) \ 396 F(DeleteProperty_Sloppy, 2, 1) \
397 F(DeleteProperty_Strict, 2, 1) \ 397 F(DeleteProperty_Strict, 2, 1) \
398 F(HasProperty, 2, 1) \ 398 F(HasProperty, 2, 1) \
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ 946 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \
947 F(CallIC_Miss, 3, 1) \ 947 F(CallIC_Miss, 3, 1) \
948 F(CompareIC_Miss, 3, 1) \ 948 F(CompareIC_Miss, 3, 1) \
949 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \ 949 F(ElementsTransitionAndStoreIC_Miss, 5, 1) \
950 F(KeyedLoadIC_Miss, 4, 1) \ 950 F(KeyedLoadIC_Miss, 4, 1) \
951 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \ 951 F(KeyedLoadIC_MissFromStubFailure, 4, 1) \
952 F(KeyedStoreIC_Miss, 5, 1) \ 952 F(KeyedStoreIC_Miss, 5, 1) \
953 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \ 953 F(KeyedStoreIC_MissFromStubFailure, 5, 1) \
954 F(KeyedStoreIC_Slow, 5, 1) \ 954 F(KeyedStoreIC_Slow, 5, 1) \
955 F(LoadElementWithInterceptor, 2, 1) \ 955 F(LoadElementWithInterceptor, 2, 1) \
956 F(LoadGlobalIC_Miss, 3, 1) \ 956 F(LoadGlobalIC_Miss, 2, 1) \
957 F(LoadIC_Miss, 4, 1) \ 957 F(LoadIC_Miss, 4, 1) \
958 F(LoadIC_MissFromStubFailure, 4, 1) \ 958 F(LoadIC_MissFromStubFailure, 4, 1) \
959 F(LoadPropertyWithInterceptor, 3, 1) \ 959 F(LoadPropertyWithInterceptor, 3, 1) \
960 F(LoadPropertyWithInterceptorOnly, 3, 1) \ 960 F(LoadPropertyWithInterceptorOnly, 3, 1) \
961 F(StoreCallbackProperty, 6, 1) \ 961 F(StoreCallbackProperty, 6, 1) \
962 F(StoreIC_Miss, 5, 1) \ 962 F(StoreIC_Miss, 5, 1) \
963 F(StoreIC_MissFromStubFailure, 5, 1) \ 963 F(StoreIC_MissFromStubFailure, 5, 1) \
964 F(StoreIC_Slow, 5, 1) \ 964 F(StoreIC_Slow, 5, 1) \
965 F(StorePropertyWithInterceptor, 3, 1) \ 965 F(StorePropertyWithInterceptor, 3, 1) \
966 F(ToBooleanIC_Miss, 1, 1) \ 966 F(ToBooleanIC_Miss, 1, 1) \
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 1144
1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1147 STATIC_ASSERT(LANGUAGE_END == 3); 1147 STATIC_ASSERT(LANGUAGE_END == 3);
1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1149 1149
1150 } // namespace internal 1150 } // namespace internal
1151 } // namespace v8 1151 } // namespace v8
1152 1152
1153 #endif // V8_RUNTIME_RUNTIME_H_ 1153 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698