Revision: 20797
Author:   [email protected]
Date:     Wed Apr 16 11:50:24 2014 UTC
Log:      Fix unused variable warnings.

[email protected]

Review URL: https://codereview.chromium.org/238543008
http://code.google.com/p/v8/source/detail?r=20797

Modified:
 /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc
 /branches/bleeding_edge/test/cctest/test-disasm-x64.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc Wed Apr 16 11:38:56 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc Wed Apr 16 11:50:24 2014 UTC
@@ -464,6 +464,7 @@
   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();
=======================================
--- /branches/bleeding_edge/test/cctest/test-disasm-x64.cc Wed Apr 16 11:38:56 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-disasm-x64.cc Wed Apr 16 11:50:24 2014 UTC
@@ -433,6 +433,7 @@
   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.

Reply via email to