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. |