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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11334 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 62945585
...@@ -781,7 +781,7 @@ TEST(HeapSnapshotObjectsStats) { ...@@ -781,7 +781,7 @@ TEST(HeapSnapshotObjectsStats) {
CHECK_EQ(0, GetHeapStatsUpdate().numbers_written()); CHECK_EQ(0, GetHeapStatsUpdate().numbers_written());
{ {
v8::HandleScope inner_scope_1; 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. // Single chunk of data with one new entry expected in update.
TestStatsStream stats_update = GetHeapStatsUpdate(); TestStatsStream stats_update = GetHeapStatsUpdate();
...@@ -797,13 +797,13 @@ TEST(HeapSnapshotObjectsStats) { ...@@ -797,13 +797,13 @@ TEST(HeapSnapshotObjectsStats) {
{ {
v8::HandleScope inner_scope_2; v8::HandleScope inner_scope_2;
v8::Local<v8::String> string2 = v8_str("string2"); v8_str("string2");
uint32_t entries_size; uint32_t entries_size;
{ {
v8::HandleScope inner_scope_3; v8::HandleScope inner_scope_3;
v8::Handle<v8::String> string3 = v8::String::New("string3"); v8_str("string3");
v8::Handle<v8::String> string4 = v8::String::New("string4"); v8_str("string4");
{ {
// Single chunk of data with three new entries expected in update. // Single chunk of data with three new entries expected in update.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment