Fix GCC 4.6 build.
R=jkummerow@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10541137 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11788 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
9786db794a
commit
9a80637be7
@ -16785,7 +16785,7 @@ TEST(TryFinallyMessage) {
|
|||||||
" var x = 0; \n"
|
" var x = 0; \n"
|
||||||
" x++; \n" // Trigger an IC initialization here.
|
" x++; \n" // Trigger an IC initialization here.
|
||||||
"} \n";
|
"} \n";
|
||||||
Local<Value> result = CompileRun(trigger_ic);
|
CompileRun(trigger_ic);
|
||||||
CHECK(try_catch.HasCaught());
|
CHECK(try_catch.HasCaught());
|
||||||
Local<Message> message = try_catch.Message();
|
Local<Message> message = try_catch.Message();
|
||||||
CHECK(!message.IsEmpty());
|
CHECK(!message.IsEmpty());
|
||||||
@ -16804,7 +16804,7 @@ TEST(TryFinallyMessage) {
|
|||||||
" x++; \n"
|
" x++; \n"
|
||||||
" throw new Error('again'); \n" // This is the new uncaught error.
|
" throw new Error('again'); \n" // This is the new uncaught error.
|
||||||
"} \n";
|
"} \n";
|
||||||
Local<Value> result = CompileRun(throw_again);
|
CompileRun(throw_again);
|
||||||
CHECK(try_catch.HasCaught());
|
CHECK(try_catch.HasCaught());
|
||||||
Local<Message> message = try_catch.Message();
|
Local<Message> message = try_catch.Message();
|
||||||
CHECK(!message.IsEmpty());
|
CHECK(!message.IsEmpty());
|
||||||
|
Loading…
Reference in New Issue
Block a user