Build fix after r25015
TBR=yangguo@chromium.org, machenbach@chromium.org LOG=N Review URL: https://codereview.chromium.org/688803003 Cr-Commit-Position: refs/heads/master@{#25016} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25016 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ad4515fd1f
commit
ec01b45390
@ -1051,8 +1051,10 @@ void Isolate::ComputeLocationFromStackTrace(MessageLocation* target,
|
|||||||
Handle<Object> exception) {
|
Handle<Object> exception) {
|
||||||
*target = MessageLocation(Handle<Script>(heap_.empty_script()), -1, -1);
|
*target = MessageLocation(Handle<Script>(heap_.empty_script()), -1, -1);
|
||||||
|
|
||||||
|
if (!exception->IsJSObject()) return;
|
||||||
Handle<Name> key = factory()->stack_trace_symbol();
|
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;
|
if (!property->IsJSArray()) return;
|
||||||
Handle<JSArray> simple_stack_trace = Handle<JSArray>::cast(property);
|
Handle<JSArray> simple_stack_trace = Handle<JSArray>::cast(property);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user