| Index: src/ppc/simulator-ppc.cc
|
| diff --git a/src/ppc/simulator-ppc.cc b/src/ppc/simulator-ppc.cc
|
| index 9b29004f3d3e041bacfba39061a081108a6558cf..7139ead2134aff860c657c7099d347b62a884f8d 100644
|
| --- a/src/ppc/simulator-ppc.cc
|
| +++ b/src/ppc/simulator-ppc.cc
|
| @@ -729,7 +729,7 @@ void Simulator::FlushICache(v8::internal::HashMap* i_cache, void* start_addr,
|
|
|
| CachePage* Simulator::GetCachePage(v8::internal::HashMap* i_cache, void* page) {
|
| v8::internal::HashMap::Entry* entry =
|
| - i_cache->Lookup(page, ICacheHash(page), true);
|
| + i_cache->LookupOrInsert(page, ICacheHash(page));
|
| if (entry->value == NULL) {
|
| CachePage* new_page = new CachePage();
|
| entry->value = new_page;
|
|
|