Revision: 11334
Author: [email protected]
Date: Mon Apr 16 06:27:38 2012
Log: fix unused variables in test-heap-profiler.cc to fix compilation
with GCC-4.6
TEST=GCC-4.6's face gleaming with happiness
Review URL: https://chromiumcodereview.appspot.com/10001009
http://code.google.com/p/v8/source/detail?r=11334
Modified:
/branches/bleeding_edge/test/cctest/test-heap-profiler.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap-profiler.cc Mon Apr 16
02:44:42 2012
+++ /branches/bleeding_edge/test/cctest/test-heap-profiler.cc Mon Apr 16
06:27:38 2012
@@ -781,7 +781,7 @@
CHECK_EQ(0, GetHeapStatsUpdate().numbers_written());
{
v8::HandleScope inner_scope_1;
- v8::Local<v8::String> string1 = v8_str("string1");
+ v8_str("string1");
{
// Single chunk of data with one new entry expected in update.
TestStatsStream stats_update = GetHeapStatsUpdate();
@@ -797,13 +797,13 @@
{
v8::HandleScope inner_scope_2;
- v8::Local<v8::String> string2 = v8_str("string2");
+ v8_str("string2");
uint32_t entries_size;
{
v8::HandleScope inner_scope_3;
- v8::Handle<v8::String> string3 = v8::String::New("string3");
- v8::Handle<v8::String> string4 = v8::String::New("string4");
+ v8_str("string3");
+ v8_str("string4");
{
// Single chunk of data with three new entries expected in
update.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev