| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index 366a3f3b07c57360c95203bb81818095e242e9fe..84e761f34bfb02fb67ca87992213972b5ce6a698 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -919,6 +919,7 @@ Handle<Code> StubCache::ComputeCompareNil(Handle<Map> receiver_map,
|
| }
|
|
|
| Handle<Code> ic = stub.GetCode(isolate_);
|
| +
|
| // For monomorphic maps, use the code as a template, copying and replacing
|
| // the monomorphic map that checks the object's type.
|
| ic = isolate_->factory()->CopyCode(ic);
|
|
|