Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index f43c9acee36365aa220e8e20856d556fb88e7b23..89dee10b4f88aae75cb7820aff6a568e7b04478f 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -907,9 +907,8 @@ Handle<Code> StubCache::ComputeCallMiss(int argc, |
Handle<Code> StubCache::ComputeCompareNil(Handle<Map> receiver_map, |
- NilValue nil, |
- CompareNilICStub::Types types) { |
- CompareNilICStub stub(kNonStrictEquality, nil, types); |
+ CompareNilICStub& stub) { |
+ stub.SetKind(kNonStrictEquality); |
Handle<String> name(isolate_->heap()->empty_string()); |
if (!receiver_map->is_shared()) { |