diff options
author | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2010-12-07 11:56:42 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-01 12:03:48 +0100 |
commit | be32caa7a1e50bc9fd6fb370138c6f64a8fb8763 (patch) | |
tree | 9eb119826147b4a19fe5cbf728aa79fe41935812 /src/3rdparty/v8/src/heap.h | |
parent | 2737342fbe24b27b92c5088aa273c2681b3fc2e2 (diff) | |
download | qtjsbackend-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.h | 1 |
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") \ |