diff options
author | Ryan <ry@tinyclouds.org> | 2009-08-21 13:13:04 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-08-21 13:13:04 +0200 |
commit | 048a1b8b9e5184f959ce924e76c61f8cd9e91089 (patch) | |
tree | 564bc754e09e25209b5ab28aa0b6880f23feb0eb /deps/v8/src/messages.cc | |
parent | 90ac9ab078926fb11a3b1ce5f155caec230e0250 (diff) | |
download | android-node-v8-048a1b8b9e5184f959ce924e76c61f8cd9e91089.tar.gz android-node-v8-048a1b8b9e5184f959ce924e76c61f8cd9e91089.tar.bz2 android-node-v8-048a1b8b9e5184f959ce924e76c61f8cd9e91089.zip |
Upgrade v8 to 1.3.6
Diffstat (limited to 'deps/v8/src/messages.cc')
-rw-r--r-- | deps/v8/src/messages.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/src/messages.cc b/deps/v8/src/messages.cc index a3fffcb50a..e16b1b2495 100644 --- a/deps/v8/src/messages.cc +++ b/deps/v8/src/messages.cc @@ -147,14 +147,12 @@ Handle<String> MessageHandler::GetMessage(Handle<Object> data) { Handle<String> fmt_str = Factory::LookupAsciiSymbol("FormatMessage"); Handle<JSFunction> fun = Handle<JSFunction>( - JSFunction::cast( - Top::builtins()->GetProperty(*fmt_str))); + JSFunction::cast(Top::builtins()->GetProperty(*fmt_str))); Object** argv[1] = { data.location() }; bool caught_exception; Handle<Object> result = - Execution::TryCall(fun, Top::builtins(), 1, argv, - &caught_exception); + Execution::TryCall(fun, Top::builtins(), 1, argv, &caught_exception); if (caught_exception || !result->IsString()) { return Factory::LookupAsciiSymbol("<error>"); |