Reviewers: Michael Achenbach, Yang,
Description:
Revert "Build fix after r25015"
This reverts commit 0c74b20a23f1d0a19070cb3d4720d0cc9d65d737.
[email protected], [email protected]
LOG=N
Please review this at https://codereview.chromium.org/695463002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -3 lines):
M src/isolate.cc
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index
a49eee6e86a6a09de2541e39d555605694a06002..7700ca5f7380cd5954a15774334778406da8c88d
100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1051,10 +1051,8 @@ void
Isolate::ComputeLocationFromStackTrace(MessageLocation* target,
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(Handle<JSObject>::cast(exception), key);
+ Handle<Object> property = JSObject::GetDataProperty(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.