Chromium Code Reviews| Index: src/ic.cc |
| diff --git a/src/ic.cc b/src/ic.cc |
| index f1e3c5539d64fbd9f74cc0de671edc62a2cb3db6..5e75b8dbfcb53c3b37b1b75479c5bfa606f6e771 100644 |
| --- a/src/ic.cc |
| +++ b/src/ic.cc |
| @@ -1369,7 +1369,7 @@ Handle<Code> StoreIC::CompileHandler(LookupResult* lookup, |
| StoreGlobalStub stub( |
| union_type->IsConstant(), receiver->IsJSGlobalProxy()); |
| Handle<Code> code = stub.GetCodeCopyFromTemplate( |
| - isolate(), *global, *cell); |
| + isolate(), global, cell); |
|
ulan
2014/03/14 16:15:59
Passing raw pointers was a bug as GetCodeCopyFromT
Toon Verwaest
2014/03/17 09:40:14
Nice catch!
On 2014/03/14 16:15:59, ulan wrote:
|
| // TODO(verwaest): Move caching of these NORMAL stubs outside as well. |
| HeapObject::UpdateMapCodeCache(receiver, name, code); |
| return code; |