[V8] Allow a script to be flagged as "native"
authorAaron Kennedy <aaron.kennedy@nokia.com>
Fri, 9 Sep 2011 04:16:12 +0000 (14:16 +1000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Thu, 5 Jan 2012 11:18:11 +0000 (12:18 +0100)
commit7e77d8742ada5ee7fbdd8dfb7c3dc7ee9ebe3891
treeb88f2cd425a8135070610d9e6ebc7db5e83363f1
parentdd34832c519d86f1f7d157d872a87f8ed56de6c8
[V8] Allow a script to be flagged as "native"

Native scripts do not appear in backtraces, or in the source and
line number when exceptions are thrown from within them.  This is
useful to be able to write code in JavaScript instead of C++ and
still have it appear sensibly to the user.

Change-Id: Ib022e74b3b912260d990faa2b2b81a32fa1d8a07
src/3rdparty/v8/include/v8.h
src/3rdparty/v8/src/compiler.cc