Reviewers: Benedikt Meurer,

Message:
Committed patchset #1 (id:1) manually as 25072 (tree was closed).

Description:
build fix after r25071

[email protected]

BUG=

Committed: https://code.google.com/p/v8/source/detail?r=25072

Please review this at https://codereview.chromium.org/684523003/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+6, -6 lines):
  M test/cctest/compiler/test-codegen-deopt.cc
  M test/cctest/compiler/test-instruction.cc


Index: test/cctest/compiler/test-codegen-deopt.cc
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc index ac1d0efb6173347e631355104feabc96fea5721b..548441b0cad925b14cc10e3c92cbf930a8bd3e59 100644
--- a/test/cctest/compiler/test-codegen-deopt.cc
+++ b/test/cctest/compiler/test-codegen-deopt.cc
@@ -31,6 +31,7 @@ using namespace v8::internal::compiler;
 #if V8_TURBOFAN_TARGET

 typedef RawMachineAssembler::Label MLabel;
+typedef v8::internal::compiler::InstructionSequence TestInstrSeq;

 static Handle<JSFunction> NewFunction(const char* source) {
   return v8::Utils::OpenHandle(
@@ -66,10 +67,9 @@ class DeoptCodegenTester {
     // Initialize the codegen and generate code.
Linkage* linkage = new (scope_->main_zone()) Linkage(info.zone(), &info);
     InstructionBlocks* instruction_blocks =
-        InstructionSequence::InstructionBlocksFor(scope_->main_zone(),
-                                                  schedule);
- code = new v8::internal::compiler::InstructionSequence(scope_->main_zone(), - instruction_blocks);
+        TestInstrSeq::InstructionBlocksFor(scope_->main_zone(), schedule);
+    code = new TestInstrSeq::InstructionSequence(scope_->main_zone(),
+                                                 instruction_blocks);
     SourcePositionTable source_positions(graph);
     InstructionSelector selector(scope_->main_zone(), graph, linkage, code,
                                  schedule, &source_positions);
@@ -107,7 +107,7 @@ class DeoptCodegenTester {
   CompilationInfo info;
   BailoutId bailout_id;
   Handle<Code> result_code;
-  v8::internal::compiler::InstructionSequence* code;
+  TestInstrSeq* code;
   Graph* graph;
 };

Index: test/cctest/compiler/test-instruction.cc
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc index 2069c7f4fef02e5496f72e8793a63f8956c5d9d1..54babfe78cdebbc67346d8cc1b7be465c80a4b2a 100644
--- a/test/cctest/compiler/test-instruction.cc
+++ b/test/cctest/compiler/test-instruction.cc
@@ -56,7 +56,7 @@ class InstructionTester : public HandleAndZoneScope {
       DCHECK(schedule.rpo_order()->size() > 0);
     }
     InstructionBlocks* instruction_blocks =
-        InstructionSequence::InstructionBlocksFor(main_zone(), &schedule);
+        TestInstrSeq::InstructionBlocksFor(main_zone(), &schedule);
     code = new TestInstrSeq(main_zone(), instruction_blocks);
   }



--
--
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