Fixed bug that caused function literals to not be optimized as much as other functions.
Improved profiler support.
Fixed a crash bug in connection with debugger unloading.
Fixed a crash bug in the code generator caused by losing the information that a frame element was copied.
Fixed an exception propagation bug that could cause non-null return values when exceptions were thrown.
git-svn-id: http://v8.googlecode.com/svn/trunk@1664 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/include/v8.h b/include/v8.h
index 2be7670..1ddaee0 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -883,7 +883,10 @@
/**
* Converts an object to a utf8-encoded character array. Useful if
- * you want to print the object.
+ * you want to print the object. If conversion to a string fails
+ * (eg. due to an exception in the toString() method of the object)
+ * then the length() method returns 0 and the * operator returns
+ * NULL.
*/
class V8EXPORT Utf8Value {
public:
@@ -903,6 +906,9 @@
/**
* Converts an object to an ascii string.
* Useful if you want to print the object.
+ * If conversion to a string fails (eg. due to an exception in the toString()
+ * method of the object) then the length() method returns 0 and the * operator
+ * returns NULL.
*/
class V8EXPORT AsciiValue {
public:
@@ -921,6 +927,9 @@
/**
* Converts an object to a two-byte string.
+ * If conversion to a string fails (eg. due to an exception in the toString()
+ * method of the object) then the length() method returns 0 and the * operator
+ * returns NULL.
*/
class V8EXPORT Value {
public: