Commit d15ecb5b authored by verwaest@chromium.org's avatar verwaest@chromium.org

Return failure when allocating maps fails.

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14707011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent df57747f
......@@ -2588,6 +2588,7 @@ MaybeObject* Map::GeneralizeRepresentation(int modify_index,
// during GC. Its descriptor array is too large, but it will be
// overwritten during retry anyway.
Handle<Map>(new_map);
return maybe_map;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment