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

Unified Diff: test/cctest/interpreter/test-interpreter.cc

Issue 2676583002: [ic] Encode [Keyed]StoreIC's language mode in slot kind instead of code object's flags. (Closed)
Patch Set: Rebasing Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: test/cctest/interpreter/test-interpreter.cc
diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc
index 1d71c0a15f2963612f04c2d55784b4128ee1d752..bb079a55ab91abadad9e969bf97f96360fd0cb09 100644
--- a/test/cctest/interpreter/test-interpreter.cc
+++ b/test/cctest/interpreter/test-interpreter.cc
@@ -1128,7 +1128,7 @@ TEST(InterpreterStoreNamedProperty) {
Zone zone(isolate->allocator(), ZONE_NAME);
FeedbackVectorSpec feedback_spec(&zone);
- FeedbackVectorSlot slot = feedback_spec.AddStoreICSlot();
+ FeedbackVectorSlot slot = feedback_spec.AddStoreICSlot(SLOPPY);
Handle<i::TypeFeedbackMetadata> metadata =
NewTypeFeedbackMetadata(isolate, &feedback_spec);
@@ -1186,7 +1186,7 @@ TEST(InterpreterStoreKeyedProperty) {
Zone zone(isolate->allocator(), ZONE_NAME);
FeedbackVectorSpec feedback_spec(&zone);
- FeedbackVectorSlot slot = feedback_spec.AddKeyedStoreICSlot();
+ FeedbackVectorSlot slot = feedback_spec.AddKeyedStoreICSlot(SLOPPY);
Handle<i::TypeFeedbackMetadata> metadata =
NewTypeFeedbackMetadata(isolate, &feedback_spec);

Powered by Google App Engine
This is Rietveld 408576698