Fixed exception reporting bug where certain exceptions were incorrectly reported as uncaught.
Improved the memory allocation strategy used during compilation to make running out of memory when compiling huge scripts less likely.
Optimized String.replace by avoiding the construction of certain sub strings.
Fixed bug in code generation for large switch statements on ARM.
Fixed bug that caused V8 to change the global object template passed in by the user.
Changed the API for creating object groups used during garbage collection. Entire object groups are now passed to V8 instead of individual members of the groups.
git-svn-id: http://v8.googlecode.com/svn/trunk@968 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/include/v8.h b/include/v8.h
index accffc0..2a8f86d 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -1967,10 +1967,10 @@
* object in the group is alive, all objects in the group are alive.
* After each garbage collection, object groups are removed. It is
* intended to be used in the before-garbage-collection callback
- * function for istance to simulate DOM tree connections among JS
+ * function, for instance to simulate DOM tree connections among JS
* wrapper objects.
*/
- static void AddObjectToGroup(void* id, Persistent<Object> obj);
+ static void AddObjectGroup(Persistent<Value>* objects, size_t length);
/**
* Initializes from snapshot if possible. Otherwise, attempts to