Reviewers: jarin,
Description:
Fix unused variable warnings.
[email protected]
Please review this at https://codereview.chromium.org/238543008/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -0 lines):
M test/cctest/test-disasm-ia32.cc
M test/cctest/test-disasm-x64.cc
Index: test/cctest/test-disasm-ia32.cc
diff --git a/test/cctest/test-disasm-ia32.cc
b/test/cctest/test-disasm-ia32.cc
index
9d9fde510259914e3bcc079f251f44f25ac33bd4..55408b7f3fa01572044133c0525cbb95b1c49694
100644
--- a/test/cctest/test-disasm-ia32.cc
+++ b/test/cctest/test-disasm-ia32.cc
@@ -464,6 +464,7 @@ TEST(DisasmIa320) {
assm.GetCode(&desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
+ USE(code);
#ifdef OBJECT_PRINT
code->Print();
byte* begin = code->instruction_start();
Index: test/cctest/test-disasm-x64.cc
diff --git a/test/cctest/test-disasm-x64.cc b/test/cctest/test-disasm-x64.cc
index
b0b486c4e98cb21b1bae6645c78ffdff835be2d3..57fdbfb5aa16ab0780865449d85a0d6fe9e06740
100644
--- a/test/cctest/test-disasm-x64.cc
+++ b/test/cctest/test-disasm-x64.cc
@@ -433,6 +433,7 @@ TEST(DisasmX64) {
assm.GetCode(&desc);
Handle<Code> code = isolate->factory()->NewCode(
desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
+ USE(code);
#ifdef OBJECT_PRINT
code->Print();
byte* begin = code->instruction_start();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.