Revision: 11788
Author:   [email protected]
Date:     Wed Jun 13 00:17:37 2012
Log:      Fix GCC 4.6 build.

[email protected]
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10541137
http://code.google.com/p/v8/source/detail?r=11788

Modified:
 /branches/bleeding_edge/test/cctest/test-api.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc     Mon Jun 11 06:18:05 2012
+++ /branches/bleeding_edge/test/cctest/test-api.cc     Wed Jun 13 00:17:37 2012
@@ -16785,7 +16785,7 @@
         "  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 @@
         "  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());

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to