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

Unified Diff: test/cctest/test-heap-profiler.cc

Issue 10001009: fix unused variables in test-heap-profiler.cc to fix compilation with GCC-4.6 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 8 years, 8 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-heap-profiler.cc
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
index 79cdd365b6a5f3a1ebec59edeef6ab7c67bc1d82..05098a362d294f6b11d8575acb28cb101412ccc1 100644
--- a/test/cctest/test-heap-profiler.cc
+++ b/test/cctest/test-heap-profiler.cc
@@ -781,7 +781,7 @@ TEST(HeapSnapshotObjectsStats) {
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 @@ TEST(HeapSnapshotObjectsStats) {
{
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.
« 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