Reviewers: Michael Starzinger,
Message:
PTAL
Description:
Return failure when allocating maps fails.
Please review this at https://chromiumcodereview.appspot.com/14707011/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/objects.cc
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index
dd6cb9f36ad077063b6059a12b8995416d5d1516..5365e7821a8cda024551468ff472a0d60333e429
100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -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;
}
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.