Revision: 25016
Author:   [email protected]
Date:     Thu Oct 30 13:31:27 2014 UTC
Log:      Build fix after r25015

[email protected], [email protected]
LOG=N

Review URL: https://codereview.chromium.org/688803003
https://code.google.com/p/v8/source/detail?r=25016

Modified:
 /branches/bleeding_edge/src/isolate.cc

=======================================
--- /branches/bleeding_edge/src/isolate.cc      Thu Oct 30 13:17:57 2014 UTC
+++ /branches/bleeding_edge/src/isolate.cc      Thu Oct 30 13:31:27 2014 UTC
@@ -1051,8 +1051,10 @@
                                             Handle<Object> exception) {
   *target = MessageLocation(Handle<Script>(heap_.empty_script()), -1, -1);

+  if (!exception->IsJSObject()) return;
   Handle<Name> key = factory()->stack_trace_symbol();
-  Handle<Object> property = JSObject::GetDataProperty(exception, key);
+  Handle<Object> property =
+      JSObject::GetDataProperty(Handle<JSObject>::cast(exception), key);
   if (!property->IsJSArray()) return;
   Handle<JSArray> simple_stack_trace = Handle<JSArray>::cast(property);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to