Revision: 22743
Author:   [email protected]
Date:     Thu Jul 31 09:30:16 2014 UTC
Log:      Fix android debug build.

[email protected]

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

Modified:
 /branches/bleeding_edge/src/compiler/gap-resolver.cc
 /branches/bleeding_edge/src/compiler/instruction.h
 /branches/bleeding_edge/test/cctest/compiler/codegen-tester.h
 /branches/bleeding_edge/test/cctest/compiler/test-gap-resolver.cc

=======================================
--- /branches/bleeding_edge/src/compiler/gap-resolver.cc Wed Jul 30 13:54:45 2014 UTC +++ /branches/bleeding_edge/src/compiler/gap-resolver.cc Thu Jul 31 09:30:16 2014 UTC
@@ -17,7 +17,8 @@
 #ifdef ENABLE_SLOW_ASSERTS
 // TODO(svenpanne) Brush up InstructionOperand with comparison?
 struct InstructionOperandComparator {
- bool operator()(const InstructionOperand* x, const InstructionOperand* y) {
+  bool operator()(const InstructionOperand* x,
+                  const InstructionOperand* y) const {
     return (x->kind() < y->kind()) ||
            (x->kind() == y->kind() && x->index() < y->index());
   }
=======================================
--- /branches/bleeding_edge/src/compiler/instruction.h Wed Jul 30 16:21:36 2014 UTC +++ /branches/bleeding_edge/src/compiler/instruction.h Thu Jul 31 09:30:16 2014 UTC
@@ -265,7 +265,7 @@
 };


-class MoveOperands V8_FINAL BASE_EMBEDDED {
+class MoveOperands V8_FINAL {
  public:
   MoveOperands(InstructionOperand* source, InstructionOperand* destination)
       : source_(source), destination_(destination) {}
=======================================
--- /branches/bleeding_edge/test/cctest/compiler/codegen-tester.h Thu Jul 31 07:44:29 2014 UTC +++ /branches/bleeding_edge/test/cctest/compiler/codegen-tester.h Thu Jul 31 09:30:16 2014 UTC
@@ -142,14 +142,14 @@

 static const bool USE_RESULT_BUFFER = true;
 static const bool USE_RETURN_REGISTER = false;
+static const int32_t CHECK_VALUE = 0x99BEEDCE;
+

 // TODO(titzer): use the C-style calling convention, or any register-based
 // calling convention for binop tests.
template <typename CType, MachineRepresentation rep, bool use_result_buffer>
 class BinopTester {
  public:
-  static const int32_t CHECK_VALUE = 0x99BEEDCE;
-
   explicit BinopTester(RawMachineAssemblerTester<int32_t>* tester)
       : T(tester),
         param0(T->LoadFromPointer(&p0, rep)),
=======================================
--- /branches/bleeding_edge/test/cctest/compiler/test-gap-resolver.cc Wed Jul 30 13:54:45 2014 UTC +++ /branches/bleeding_edge/test/cctest/compiler/test-gap-resolver.cc Thu Jul 31 09:30:16 2014 UTC
@@ -123,7 +123,8 @@

  private:
   struct InstructionOperandComparator {
- bool operator()(const InstructionOperand* x, const InstructionOperand* y) {
+    bool operator()(const InstructionOperand* x,
+                    const InstructionOperand* y) const {
       return (x->kind() < y->kind()) ||
              (x->kind() == y->kind() && x->index() < y->index());
     }

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