summaryrefslogtreecommitdiff
path: root/src/3rdparty/v8/src/heap.h
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2010-12-07 11:56:42 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-01 12:03:48 +0100
commitbe32caa7a1e50bc9fd6fb370138c6f64a8fb8763 (patch)
tree9eb119826147b4a19fe5cbf728aa79fe41935812 /src/3rdparty/v8/src/heap.h
parent2737342fbe24b27b92c5088aa273c2681b3fc2e2 (diff)
downloadqtjsbackend-be32caa7a1e50bc9fd6fb370138c6f64a8fb8763.tar.gz
[V8] QtScript/V8: Add new v8 api to check if a value is an error.
New function v8::Value::IsError was created. This API is experimental and added only for the purposes of our research. Change-Id: I8f20d46bd81b18bcd7a7c2f7cfc25775d82a6834 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Diffstat (limited to 'src/3rdparty/v8/src/heap.h')
-rw-r--r--src/3rdparty/v8/src/heap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/v8/src/heap.h b/src/3rdparty/v8/src/heap.h
index 5e90964..6166cde 100644
--- a/src/3rdparty/v8/src/heap.h
+++ b/src/3rdparty/v8/src/heap.h
@@ -190,6 +190,7 @@ inline Heap* _inline_get_heap_();
V(string_symbol, "string") \
V(String_symbol, "String") \
V(Date_symbol, "Date") \
+ V(Error_symbol, "Error") \
V(this_symbol, "this") \
V(to_string_symbol, "toString") \
V(char_at_symbol, "CharAt") \