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

Unified Diff: test/cctest/test-code-cache.cc

Issue 2052763003: [ic] [stubs] Remove InlineCacheState field from the code flags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 years, 6 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
« no previous file with comments | « test/cctest/heap/test-heap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-code-cache.cc
diff --git a/test/cctest/test-code-cache.cc b/test/cctest/test-code-cache.cc
index 4d166c40550973b9170dda6878539864a4f3487b..5ec2f0bf944a45807559173c97d7b34d3c669233 100644
--- a/test/cctest/test-code-cache.cc
+++ b/test/cctest/test-code-cache.cc
@@ -20,8 +20,8 @@ static Handle<Code> GetDummyCode(Isolate* isolate) {
0, // reloc_size
0, // constant_pool_size
nullptr}; // origin
- Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC, MONOMORPHIC,
- kNoExtraICState, kCacheOnReceiver);
+ Code::Flags flags =
+ Code::ComputeFlags(Code::LOAD_IC, kNoExtraICState, kCacheOnReceiver);
Handle<Code> self_ref;
return isolate->factory()->NewCode(desc, flags, self_ref);
}
@@ -49,8 +49,8 @@ TEST(CodeCache) {
codes.Add(GetDummyCode(isolate));
}
Handle<Name> bad_name = isolate->factory()->NewSymbol();
- Code::Flags bad_flags = Code::ComputeFlags(
- Code::LOAD_IC, MONOMORPHIC, kNoExtraICState, kCacheOnPrototype);
+ Code::Flags bad_flags =
+ Code::ComputeFlags(Code::LOAD_IC, kNoExtraICState, kCacheOnPrototype);
DCHECK(bad_flags != codes[0]->flags());
// Cache name/code pairs.
« no previous file with comments | « test/cctest/heap/test-heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698