Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: test/cctest/test-api.cc

Issue 10541137: Fix GCC 4.6 build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 19b0c47330a04e639d4bd8602bc1475486803ce9..ed31f6ffaea53d89ec428d82373bdab258b6b75d 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -16785,7 +16785,7 @@ TEST(TryFinallyMessage) {
" var x = 0; \n"
" x++; \n" // Trigger an IC initialization here.
"} \n";
- Local<Value> result = CompileRun(trigger_ic);
+ CompileRun(trigger_ic);
CHECK(try_catch.HasCaught());
Local<Message> message = try_catch.Message();
CHECK(!message.IsEmpty());
@@ -16804,7 +16804,7 @@ TEST(TryFinallyMessage) {
" x++; \n"
" throw new Error('again'); \n" // This is the new uncaught error.
"} \n";
- Local<Value> result = CompileRun(throw_again);
+ CompileRun(throw_again);
CHECK(try_catch.HasCaught());
Local<Message> message = try_catch.Message();
CHECK(!message.IsEmpty());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698