TBR=mnaganov
Review URL: http://codereview.chromium.org/
3525014
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5587
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Handle<JSValue> script_wrapper = GetScriptWrapper(Handle<Script>(script));
Handle<Object> property = GetProperty(script_wrapper, method_name);
ASSERT(property->IsJSFunction());
- Handle<JSFunction> method = Handle<JSFunction>::cast(property);
+ Handle<JSFunction> method = Handle<JSFunction>::cast(property);
bool caught_exception;
Handle<Object> result = Execution::TryCall(method, script_wrapper, 0,
NULL, &caught_exception);
v8::Handle<v8::String> name =
stackTrace->GetFrame(i)->GetScriptNameOrSourceURL();
CHECK(!name.IsEmpty());
- CHECK_EQ(url, name);
+ CHECK_EQ(url, name);
}
return v8::Undefined();
}