Index: src/api.h |
=================================================================== |
--- src/api.h (revision 4556) |
+++ src/api.h (working copy) |
@@ -192,6 +192,10 @@ |
v8::internal::Handle<v8::internal::Proxy> obj); |
static inline Local<Message> MessageToLocal( |
v8::internal::Handle<v8::internal::Object> obj); |
+ static inline Local<StackTrace> StackTraceToLocal( |
+ v8::internal::Handle<v8::internal::JSArray> obj); |
+ static inline Local<StackFrame> StackFrameToLocal( |
+ v8::internal::Handle<v8::internal::JSObject> obj); |
static inline Local<Number> NumberToLocal( |
v8::internal::Handle<v8::internal::Object> obj); |
static inline Local<Integer> IntegerToLocal( |
@@ -227,6 +231,10 @@ |
OpenHandle(const Function* data); |
static inline v8::internal::Handle<v8::internal::JSObject> |
OpenHandle(const Message* message); |
+ static inline v8::internal::Handle<v8::internal::JSArray> |
+ OpenHandle(const StackTrace* stack_trace); |
+ static inline v8::internal::Handle<v8::internal::JSObject> |
+ OpenHandle(const StackFrame* stack_frame); |
static inline v8::internal::Handle<v8::internal::Context> |
OpenHandle(const v8::Context* context); |
static inline v8::internal::Handle<v8::internal::SignatureInfo> |
@@ -275,6 +283,8 @@ |
MAKE_TO_LOCAL(ToLocal, SignatureInfo, Signature) |
MAKE_TO_LOCAL(ToLocal, TypeSwitchInfo, TypeSwitch) |
MAKE_TO_LOCAL(MessageToLocal, Object, Message) |
+MAKE_TO_LOCAL(StackTraceToLocal, JSArray, StackTrace) |
+MAKE_TO_LOCAL(StackFrameToLocal, JSObject, StackFrame) |
MAKE_TO_LOCAL(NumberToLocal, Object, Number) |
MAKE_TO_LOCAL(IntegerToLocal, Object, Integer) |
MAKE_TO_LOCAL(Uint32ToLocal, Object, Uint32) |
@@ -305,6 +315,8 @@ |
MAKE_OPEN_HANDLE(Message, JSObject) |
MAKE_OPEN_HANDLE(Context, Context) |
MAKE_OPEN_HANDLE(External, Proxy) |
+MAKE_OPEN_HANDLE(StackTrace, JSArray) |
+MAKE_OPEN_HANDLE(StackFrame, JSObject) |
#undef MAKE_OPEN_HANDLE |