Fix for a GCMole issue introduced in r21117.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/269743002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ishell@chromium.org 2014-05-02 13:03:39 +00:00
parent 53d7aa29bb
commit d76ad1691c

View File

@ -2108,8 +2108,8 @@ void Genesis::InstallJSFunctionResultCaches() {
void Genesis::InitializeNormalizedMapCaches() {
native_context()->set_normalized_map_cache(
*NormalizedMapCache::New(isolate()));
Handle<NormalizedMapCache> cache = NormalizedMapCache::New(isolate());
native_context()->set_normalized_map_cache(*cache);
}