Revision: 6866
Author: fschnei...@chromium.org
Date: Mon Feb 21 04:05:17 2011
Log: Remove const qualifier in a few places in the hydrogen IR files.

This is a preparation step for a larger refactoring of the
hydrogen instructions.

Review URL: http://codereview.chromium.org/6542042
http://code.google.com/p/v8/source/detail?r=6866

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc
 /branches/bleeding_edge/src/hydrogen-instructions.h

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Feb 16 05:31:12 2011 +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Mon Feb 21 04:05:17 2011
@@ -224,7 +224,7 @@
 }


-int HValue::LookupOperandIndex(int occurrence_index, HValue* op) const {
+int HValue::LookupOperandIndex(int occurrence_index, HValue* op) {
   for (int i = 0; i < OperandCount(); ++i) {
     if (OperandAt(i) == op) {
       if (occurrence_index == 0) return i;
@@ -240,7 +240,7 @@
 }


-bool HValue::UsesMultipleTimes(HValue* op) const {
+bool HValue::UsesMultipleTimes(HValue* op) {
   bool seen = false;
   for (int i = 0; i < OperandCount(); ++i) {
     if (OperandAt(i) == op) {
@@ -252,7 +252,7 @@
 }


-bool HValue::Equals(HValue* other) const {
+bool HValue::Equals(HValue* other) {
   if (other->opcode() != opcode()) return false;
   if (!other->representation().Equals(representation())) return false;
   if (!other->type_.Equals(type_)) return false;
@@ -267,7 +267,7 @@
 }


-intptr_t HValue::Hashcode() const {
+intptr_t HValue::Hashcode() {
   intptr_t result = opcode();
   int count = OperandCount();
   for (int i = 0; i < count; ++i) {
@@ -441,7 +441,7 @@
 }


-void HInstruction::PrintTo(StringStream* stream) const {
+void HInstruction::PrintTo(StringStream* stream) {
   stream->Add("%s", Mnemonic());
   if (HasSideEffects()) stream->Add("*");
   stream->Add(" ");
@@ -564,19 +564,19 @@
 #endif


-void HCall::PrintDataTo(StringStream* stream) const {
+void HCall::PrintDataTo(StringStream* stream) {
   stream->Add("#%d", argument_count());
 }


-void HUnaryCall::PrintDataTo(StringStream* stream) const {
+void HUnaryCall::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   stream->Add(" ");
   HCall::PrintDataTo(stream);
 }


-void HBinaryCall::PrintDataTo(StringStream* stream) const {
+void HBinaryCall::PrintDataTo(StringStream* stream) {
   first()->PrintNameTo(stream);
   stream->Add(" ");
   second()->PrintNameTo(stream);
@@ -585,7 +585,7 @@
 }


-void HCallConstantFunction::PrintDataTo(StringStream* stream) const {
+void HCallConstantFunction::PrintDataTo(StringStream* stream) {
   if (IsApplyFunction()) {
     stream->Add("optimized apply ");
   } else {
@@ -595,38 +595,38 @@
 }


-void HCallNamed::PrintDataTo(StringStream* stream) const {
+void HCallNamed::PrintDataTo(StringStream* stream) {
   stream->Add("%o ", *name());
   HUnaryCall::PrintDataTo(stream);
 }


-void HCallGlobal::PrintDataTo(StringStream* stream) const {
+void HCallGlobal::PrintDataTo(StringStream* stream) {
   stream->Add("%o ", *name());
   HUnaryCall::PrintDataTo(stream);
 }


-void HCallKnownGlobal::PrintDataTo(StringStream* stream) const {
+void HCallKnownGlobal::PrintDataTo(StringStream* stream) {
   stream->Add("o ", target()->shared()->DebugName());
   HCall::PrintDataTo(stream);
 }


-void HCallRuntime::PrintDataTo(StringStream* stream) const {
+void HCallRuntime::PrintDataTo(StringStream* stream) {
   stream->Add("%o ", *name());
   HCall::PrintDataTo(stream);
 }


-void HClassOfTest::PrintDataTo(StringStream* stream) const {
+void HClassOfTest::PrintDataTo(StringStream* stream) {
   stream->Add("class_of_test(");
   value()->PrintNameTo(stream);
   stream->Add(", \"%o\")", *class_name());
 }


-void HAccessArgumentsAt::PrintDataTo(StringStream* stream) const {
+void HAccessArgumentsAt::PrintDataTo(StringStream* stream) {
   arguments()->PrintNameTo(stream);
   stream->Add("[");
   index()->PrintNameTo(stream);
@@ -635,7 +635,7 @@
 }


-void HControlInstruction::PrintDataTo(StringStream* stream) const {
+void HControlInstruction::PrintDataTo(StringStream* stream) {
   if (FirstSuccessor() != NULL) {
     int first_id = FirstSuccessor()->block_id();
     if (SecondSuccessor() == NULL) {
@@ -648,13 +648,13 @@
 }


-void HUnaryControlInstruction::PrintDataTo(StringStream* stream) const {
+void HUnaryControlInstruction::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   HControlInstruction::PrintDataTo(stream);
 }


-void HCompareMap::PrintDataTo(StringStream* stream) const {
+void HCompareMap::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   stream->Add(" (%p)", *map());
   HControlInstruction::PrintDataTo(stream);
@@ -682,19 +682,19 @@
 }


-void HUnaryMathOperation::PrintDataTo(StringStream* stream) const {
+void HUnaryMathOperation::PrintDataTo(StringStream* stream) {
   const char* name = OpName();
   stream->Add("%s ", name);
   value()->PrintNameTo(stream);
 }


-void HUnaryOperation::PrintDataTo(StringStream* stream) const {
+void HUnaryOperation::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
 }


-void HHasInstanceType::PrintDataTo(StringStream* stream) const {
+void HHasInstanceType::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   switch (from_) {
     case FIRST_JS_OBJECT_TYPE:
@@ -715,14 +715,14 @@
 }


-void HTypeofIs::PrintDataTo(StringStream* stream) const {
+void HTypeofIs::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   stream->Add(" == ");
   stream->Add(type_literal_->ToAsciiVector());
 }


-void HChange::PrintDataTo(StringStream* stream) const {
+void HChange::PrintDataTo(StringStream* stream) {
   HUnaryOperation::PrintDataTo(stream);
   stream->Add(" %s to %s", from_.Mnemonic(), to_.Mnemonic());

@@ -738,26 +738,26 @@
 }


-void HCheckMap::PrintDataTo(StringStream* stream) const {
+void HCheckMap::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   stream->Add(" %p", *map());
 }


-void HCheckFunction::PrintDataTo(StringStream* stream) const {
+void HCheckFunction::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   stream->Add(" %p", *target());
 }


-void HCallStub::PrintDataTo(StringStream* stream) const {
+void HCallStub::PrintDataTo(StringStream* stream) {
   stream->Add("%s ",
               CodeStub::MajorName(major_key_, false));
   HUnaryCall::PrintDataTo(stream);
 }


-void HInstanceOf::PrintDataTo(StringStream* stream) const {
+void HInstanceOf::PrintDataTo(StringStream* stream) {
   left()->PrintNameTo(stream);
   stream->Add(" ");
   right()->PrintNameTo(stream);
@@ -902,7 +902,7 @@
 }


-void HPhi::PrintTo(StringStream* stream) const {
+void HPhi::PrintTo(StringStream* stream) {
   stream->Add("[");
   for (int i = 0; i < OperandCount(); ++i) {
     HValue* value = OperandAt(i);
@@ -980,7 +980,7 @@
 }


-void HSimulate::PrintDataTo(StringStream* stream) const {
+void HSimulate::PrintDataTo(StringStream* stream) {
   stream->Add("id=%d ", ast_id());
   if (pop_count_ > 0) stream->Add("pop %d", pop_count_);
   if (values_.length() > 0) {
@@ -997,7 +997,7 @@
 }


-void HEnterInlined::PrintDataTo(StringStream* stream) const {
+void HEnterInlined::PrintDataTo(StringStream* stream) {
   SmartPointer<char> name = function()->debug_name()->ToCString();
   stream->Add("%s, id=%d", *name, function()->id());
 }
@@ -1038,7 +1038,7 @@
 }


-void HConstant::PrintDataTo(StringStream* stream) const {
+void HConstant::PrintDataTo(StringStream* stream) {
   handle()->ShortPrint(stream);
 }

@@ -1048,7 +1048,7 @@
 }


-void HBinaryOperation::PrintDataTo(StringStream* stream) const {
+void HBinaryOperation::PrintDataTo(StringStream* stream) {
   left()->PrintNameTo(stream);
   stream->Add(" ");
   right()->PrintNameTo(stream);
@@ -1132,7 +1132,7 @@



-void HCompare::PrintDataTo(StringStream* stream) const {
+void HCompare::PrintDataTo(StringStream* stream) {
   stream->Add(Token::Name(token()));
   stream->Add(" ");
   HBinaryOperation::PrintDataTo(stream);
@@ -1151,18 +1151,18 @@
 }


-void HParameter::PrintDataTo(StringStream* stream) const {
+void HParameter::PrintDataTo(StringStream* stream) {
   stream->Add("%u", index());
 }


-void HLoadNamedField::PrintDataTo(StringStream* stream) const {
+void HLoadNamedField::PrintDataTo(StringStream* stream) {
   object()->PrintNameTo(stream);
   stream->Add(" @%d%s", offset(), is_in_object() ? "[in-object]" : "");
 }


-void HLoadKeyed::PrintDataTo(StringStream* stream) const {
+void HLoadKeyed::PrintDataTo(StringStream* stream) {
   object()->PrintNameTo(stream);
   stream->Add("[");
   key()->PrintNameTo(stream);
@@ -1170,7 +1170,7 @@
 }


-void HLoadPixelArrayElement::PrintDataTo(StringStream* stream) const {
+void HLoadPixelArrayElement::PrintDataTo(StringStream* stream) {
   external_pointer()->PrintNameTo(stream);
   stream->Add("[");
   key()->PrintNameTo(stream);
@@ -1178,7 +1178,7 @@
 }


-void HStoreNamed::PrintDataTo(StringStream* stream) const {
+void HStoreNamed::PrintDataTo(StringStream* stream) {
   object()->PrintNameTo(stream);
   stream->Add(".");
   ASSERT(name()->IsString());
@@ -1188,7 +1188,7 @@
 }


-void HStoreNamedField::PrintDataTo(StringStream* stream) const {
+void HStoreNamedField::PrintDataTo(StringStream* stream) {
   HStoreNamed::PrintDataTo(stream);
   if (!transition().is_null()) {
     stream->Add(" (transition map %p)", *transition());
@@ -1196,7 +1196,7 @@
 }


-void HStoreKeyed::PrintDataTo(StringStream* stream) const {
+void HStoreKeyed::PrintDataTo(StringStream* stream) {
   object()->PrintNameTo(stream);
   stream->Add("[");
   key()->PrintNameTo(stream);
@@ -1205,7 +1205,7 @@
 }


-void HStorePixelArrayElement::PrintDataTo(StringStream* stream) const {
+void HStorePixelArrayElement::PrintDataTo(StringStream* stream) {
   external_pointer()->PrintNameTo(stream);
   stream->Add("[");
   key()->PrintNameTo(stream);
@@ -1214,25 +1214,25 @@
 }


-void HLoadGlobal::PrintDataTo(StringStream* stream) const {
+void HLoadGlobal::PrintDataTo(StringStream* stream) {
   stream->Add("[%p]", *cell());
   if (check_hole_value()) stream->Add(" (deleteable/read-only)");
 }


-void HStoreGlobal::PrintDataTo(StringStream* stream) const {
+void HStoreGlobal::PrintDataTo(StringStream* stream) {
   stream->Add("[%p] = ", *cell());
   value()->PrintNameTo(stream);
 }


-void HLoadContextSlot::PrintDataTo(StringStream* stream) const {
+void HLoadContextSlot::PrintDataTo(StringStream* stream) {
   value()->PrintNameTo(stream);
   stream->Add("[%d]", slot_index());
 }


-void HStoreContextSlot::PrintDataTo(StringStream* stream) const {
+void HStoreContextSlot::PrintDataTo(StringStream* stream) {
   context()->PrintNameTo(stream);
   stream->Add("[%d] = ", slot_index());
   value()->PrintNameTo(stream);
@@ -1242,33 +1242,33 @@
 // Implementation of type inference and type conversions. Calculates
 // the inferred type of this instruction based on the input operands.

-HType HValue::CalculateInferredType() const {
+HType HValue::CalculateInferredType() {
   return type_;
 }


-HType HCheckMap::CalculateInferredType() const {
+HType HCheckMap::CalculateInferredType() {
   return value()->type();
 }


-HType HCheckFunction::CalculateInferredType() const {
+HType HCheckFunction::CalculateInferredType() {
   return value()->type();
 }


-HType HCheckNonSmi::CalculateInferredType() const {
+HType HCheckNonSmi::CalculateInferredType() {
   // TODO(kasperl): Is there any way to signal that this isn't a smi?
   return HType::Tagged();
 }


-HType HCheckSmi::CalculateInferredType() const {
+HType HCheckSmi::CalculateInferredType() {
   return HType::Smi();
 }


-HType HPhi::CalculateInferredType() const {
+HType HPhi::CalculateInferredType() {
   HType result = HType::Uninitialized();
   for (int i = 0; i < OperandCount(); ++i) {
     HType current = OperandAt(i)->type();
@@ -1278,77 +1278,77 @@
 }


-HType HConstant::CalculateInferredType() const {
+HType HConstant::CalculateInferredType() {
   return constant_type_;
 }


-HType HCompare::CalculateInferredType() const {
+HType HCompare::CalculateInferredType() {
   return HType::Boolean();
 }


-HType HCompareJSObjectEq::CalculateInferredType() const {
+HType HCompareJSObjectEq::CalculateInferredType() {
   return HType::Boolean();
 }


-HType HUnaryPredicate::CalculateInferredType() const {
+HType HUnaryPredicate::CalculateInferredType() {
   return HType::Boolean();
 }


-HType HBitwiseBinaryOperation::CalculateInferredType() const {
+HType HBitwiseBinaryOperation::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HArithmeticBinaryOperation::CalculateInferredType() const {
+HType HArithmeticBinaryOperation::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HAdd::CalculateInferredType() const {
+HType HAdd::CalculateInferredType() {
   return HType::Tagged();
 }


-HType HBitAnd::CalculateInferredType() const {
+HType HBitAnd::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HBitXor::CalculateInferredType() const {
+HType HBitXor::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HBitOr::CalculateInferredType() const {
+HType HBitOr::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HBitNot::CalculateInferredType() const {
+HType HBitNot::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HUnaryMathOperation::CalculateInferredType() const {
+HType HUnaryMathOperation::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HShl::CalculateInferredType() const {
+HType HShl::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HShr::CalculateInferredType() const {
+HType HShr::CalculateInferredType() {
   return HType::TaggedNumber();
 }


-HType HSar::CalculateInferredType() const {
+HType HSar::CalculateInferredType() {
   return HType::TaggedNumber();
 }

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Wed Feb 16 05:31:12 2011 +++ /branches/bleeding_edge/src/hydrogen-instructions.h Mon Feb 21 04:05:17 2011
@@ -309,7 +309,7 @@
   static Representation Double() { return Representation(kDouble); }
   static Representation External() { return Representation(kExternal); }

-  bool Equals(const Representation& other) const {
+  bool Equals(const Representation& other) {
     return kind_ == other.kind_;
   }

@@ -544,15 +544,15 @@
   bool IsDefinedAfter(HBasicBlock* other) const;

   // Operands.
-  virtual int OperandCount() const { return 0; }
-  virtual HValue* OperandAt(int index) const {
+  virtual int OperandCount() { return 0; }
+  virtual HValue* OperandAt(int index) {
     UNREACHABLE();
     return NULL;
   }
   void SetOperandAt(int index, HValue* value);

-  int LookupOperandIndex(int occurrence_index, HValue* op) const;
-  bool UsesMultipleTimes(HValue* op) const;
+  int LookupOperandIndex(int occurrence_index, HValue* op);
+  bool UsesMultipleTimes(HValue* op);

   void ReplaceAndDelete(HValue* other);
   void ReplaceValue(HValue* other);
@@ -581,7 +581,7 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::None();
   }
-  virtual Representation InferredRepresentation() const {
+  virtual Representation InferredRepresentation() {
     return representation();
   }

@@ -596,11 +596,11 @@
   HYDROGEN_ALL_INSTRUCTION_LIST(DECLARE_DO)
 #undef DECLARE_DO

-  bool Equals(HValue* other) const;
-  virtual intptr_t Hashcode() const;
+  bool Equals(HValue* other);
+  virtual intptr_t Hashcode();

   // Printing support.
-  virtual void PrintTo(StringStream* stream) const = 0;
+  virtual void PrintTo(StringStream* stream) = 0;
   void PrintNameTo(StringStream* stream);
   static void PrintTypeTo(HType type, StringStream* stream);

@@ -611,7 +611,7 @@
   // it has changed.
   bool UpdateInferredType();

-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

 #ifdef DEBUG
   virtual void Verify() = 0;
@@ -620,7 +620,7 @@
  protected:
// This function must be overridden for instructions with flag kUseGVN, to
   // compare the non-Operand parts of the instruction.
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     UNREACHABLE();
     return false;
   }
@@ -669,8 +669,8 @@
   HInstruction* next() const { return next_; }
   HInstruction* previous() const { return previous_; }

-  void PrintTo(StringStream* stream) const;
-  virtual void PrintDataTo(StringStream* stream) const {}
+  virtual void PrintTo(StringStream* stream);
+  virtual void PrintDataTo(StringStream* stream) { }

   bool IsLinked() const { return block() != NULL; }
   void Unlink();
@@ -732,7 +732,7 @@
   HBasicBlock* FirstSuccessor() const { return first_successor_; }
   HBasicBlock* SecondSuccessor() const { return second_successor_; }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_INSTRUCTION(ControlInstruction)

@@ -781,7 +781,7 @@
     return Representation::Tagged();
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   HValue* value() const { return OperandAt(0); }
   virtual int OperandCount() const { return 1; }
@@ -827,7 +827,7 @@
     ASSERT(!map.is_null());
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   Handle<Map> map() const { return map_; }

@@ -863,7 +863,7 @@
   }

   HValue* value() const { return OperandAt(0); }
-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);
   virtual int OperandCount() const { return 1; }
   virtual HValue* OperandAt(int index) const { return operands_[index]; }

@@ -925,13 +925,13 @@
     return true;
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(Change,
CanTruncateToInt32() ? "truncate" : "change")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     if (!other->IsChange()) return false;
     HChange* change = HChange::cast(other);
     return value() == change->value()
@@ -955,7 +955,7 @@
         assigned_indexes_(2) {}
   virtual ~HSimulate() {}

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   bool HasAstId() const { return ast_id_ != AstNode::kNoNumber; }
   int ast_id() const { return ast_id_; }
@@ -1026,7 +1026,7 @@
       : closure_(closure), function_(function) {
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   Handle<JSFunction> closure() const { return closure_; }
   FunctionLiteral* function() const { return function_; }
@@ -1071,7 +1071,7 @@
   DECLARE_CONCRETE_INSTRUCTION(Context, "context");

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1085,7 +1085,7 @@
   DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer_context");

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1099,7 +1099,7 @@
   DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global_object")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1114,7 +1114,7 @@
   DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global_receiver")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1126,11 +1126,11 @@
     SetAllSideEffects();
   }

-  virtual HType CalculateInferredType() const { return HType::Tagged(); }
+  virtual HType CalculateInferredType() { return HType::Tagged(); }

   virtual int argument_count() const { return argument_count_; }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_INSTRUCTION(Call)

@@ -1146,7 +1146,7 @@
     SetOperandAt(0, value);
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   HValue* value() const { return value_; }

@@ -1177,7 +1177,7 @@
     SetOperandAt(1, second);
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   HValue* first() const { return operands_[0]; }
   HValue* second() const { return operands_[1]; }
@@ -1208,7 +1208,7 @@
     return function_->code() == Builtins::builtin(Builtins::FunctionApply);
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

DECLARE_CONCRETE_INSTRUCTION(CallConstantFunction, "call_constant_function")

@@ -1240,7 +1240,7 @@
       : HUnaryCall(context, argument_count), name_(name) {
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   HValue* context() const { return value(); }
   Handle<String> name() const { return name_; }
@@ -1270,7 +1270,7 @@
       : HUnaryCall(context, argument_count), name_(name) {
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   HValue* context() const { return value(); }
   Handle<String> name() const { return name_; }
@@ -1287,7 +1287,7 @@
   HCallKnownGlobal(Handle<JSFunction> target, int argument_count)
       : HCall(argument_count), target_(target) { }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   Handle<JSFunction> target() const { return target_; }

@@ -1321,7 +1321,7 @@
                Runtime::Function* c_function,
                int argument_count)
       : HCall(argument_count), c_function_(c_function), name_(name) { }
-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   Runtime::Function* function() const { return c_function_; }
   Handle<String> name() const { return name_; }
@@ -1352,7 +1352,7 @@
   DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js_array_length")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1371,7 +1371,7 @@
   DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed_array_length")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1392,7 +1392,7 @@
   DECLARE_CONCRETE_INSTRUCTION(PixelArrayLength, "pixel_array_length")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1407,12 +1407,12 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Integer32();
   }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(BitNot, "bit_not")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1443,9 +1443,9 @@
     SetFlag(kUseGVN);
   }

-  virtual void PrintDataTo(StringStream* stream) const;
-
-  virtual HType CalculateInferredType() const;
+  virtual void PrintDataTo(StringStream* stream);
+
+  virtual HType CalculateInferredType();

   virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited);

@@ -1485,7 +1485,7 @@
   DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary_math_operation")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HUnaryMathOperation* b = HUnaryMathOperation::cast(other);
     return op_ == b->op();
   }
@@ -1510,7 +1510,7 @@
   DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1534,7 +1534,7 @@
                                "load-pixel-array-external-pointer")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1552,8 +1552,8 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual void PrintDataTo(StringStream* stream) const;
-  virtual HType CalculateInferredType() const;
+  virtual void PrintDataTo(StringStream* stream);
+  virtual HType CalculateInferredType();

 #ifdef DEBUG
   virtual void Verify();
@@ -1564,7 +1564,7 @@
   DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check_map")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HCheckMap* b = HCheckMap::cast(other);
     return map_.is_identical_to(b->map());
   }
@@ -1587,8 +1587,8 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual void PrintDataTo(StringStream* stream) const;
-  virtual HType CalculateInferredType() const;
+  virtual void PrintDataTo(StringStream* stream);
+  virtual HType CalculateInferredType();

 #ifdef DEBUG
   virtual void Verify();
@@ -1599,7 +1599,7 @@
   DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check_function")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HCheckFunction* b = HCheckFunction::cast(other);
     return target_.is_identical_to(b->target());
   }
@@ -1647,7 +1647,7 @@
   // TODO(ager): It could be nice to allow the ommision of instance
   // type checks if we have already performed an instance type check
   // with a larger range.
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HCheckInstanceType* b = HCheckInstanceType::cast(other);
     return (first_ == b->first()) && (last_ == b->last());
   }
@@ -1671,7 +1671,7 @@
     return Representation::Tagged();
   }

-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

 #ifdef DEBUG
   virtual void Verify();
@@ -1680,7 +1680,7 @@
   DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check_non_smi")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1703,7 +1703,7 @@

   DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check_prototype_maps")

-  virtual intptr_t Hashcode() const {
+  virtual intptr_t Hashcode() {
     ASSERT(!Heap::IsAllocationAllowed());
     intptr_t hash = reinterpret_cast<intptr_t>(*prototype());
     hash = 17 * hash + reinterpret_cast<intptr_t>(*holder());
@@ -1711,7 +1711,7 @@
   }

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HCheckPrototypeMaps* b = HCheckPrototypeMaps::cast(other);
     return prototype_.is_identical_to(b->prototype()) &&
         holder_.is_identical_to(b->holder());
@@ -1735,7 +1735,7 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

 #ifdef DEBUG
   virtual void Verify();
@@ -1744,7 +1744,7 @@
   DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check_smi")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -1763,7 +1763,7 @@
     SetFlag(kFlexibleRepresentation);
   }

-  virtual Representation InferredRepresentation() const {
+  virtual Representation InferredRepresentation() {
     bool double_occurred = false;
     bool int32_occurred = false;
     for (int i = 0; i < OperandCount(); ++i) {
@@ -1782,7 +1782,7 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return representation();
   }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();
   virtual int OperandCount() const { return inputs_.length(); }
   virtual HValue* OperandAt(int index) const { return inputs_[index]; }
   HValue* GetRedundantReplacement() const;
@@ -1794,7 +1794,7 @@

   virtual const char* Mnemonic() const { return "phi"; }

-  virtual void PrintTo(StringStream* stream) const;
+  virtual void PrintTo(StringStream* stream);

 #ifdef DEBUG
   virtual void Verify();
@@ -1862,8 +1862,8 @@
   bool InOldSpace() const { return !Heap::InNewSpace(*handle_); }

   virtual bool EmitAtUses() const { return !representation().IsDouble(); }
-  virtual void PrintDataTo(StringStream* stream) const;
-  virtual HType CalculateInferredType() const;
+  virtual void PrintDataTo(StringStream* stream);
+  virtual HType CalculateInferredType();
   bool IsInteger() const { return handle_->IsSmi(); }
   HConstant* CopyToRepresentation(Representation r) const;
   HConstant* CopyToTruncatedInt32() const;
@@ -1879,7 +1879,7 @@
   }
   bool HasStringValue() const { return handle_->IsString(); }

-  virtual intptr_t Hashcode() const {
+  virtual intptr_t Hashcode() {
     ASSERT(!Heap::allow_allocation(false));
     return reinterpret_cast<intptr_t>(*handle());
   }
@@ -1893,7 +1893,7 @@
  protected:
   virtual Range* InferRange();

-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HConstant* other_constant = HConstant::cast(other);
     return handle().is_identical_to(other_constant->handle());
   }
@@ -1936,7 +1936,7 @@

   virtual bool IsCommutative() const { return false; }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);
   virtual int OperandCount() const { return operands_.length(); }
   virtual HValue* OperandAt(int index) const { return operands_[index]; }

@@ -2004,7 +2004,7 @@
   DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments_elements")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2018,7 +2018,7 @@
   DECLARE_CONCRETE_INSTRUCTION(ArgumentsLength, "arguments_length")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2032,7 +2032,7 @@
     SetOperandAt(2, index);
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   virtual Representation RequiredInputRepresentation(int index) const {
     // The arguments elements is considered tagged.
@@ -2055,7 +2055,7 @@
     operands_[index] = value;
   }

-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

  private:
   HOperandVector<3> operands_;
@@ -2085,7 +2085,7 @@
   DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds_check")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2111,7 +2111,7 @@
     }
   }

-  HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_INSTRUCTION(BitwiseBinaryOperation)
 };
@@ -2133,11 +2133,11 @@
     }
   }

-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();
   virtual Representation RequiredInputRepresentation(int index) const {
     return representation();
   }
-  virtual Representation InferredRepresentation() const {
+  virtual Representation InferredRepresentation() {
     if (left()->representation().Equals(right()->representation())) {
       return left()->representation();
     }
@@ -2170,18 +2170,18 @@
     return input_representation_;
   }
   Token::Value token() const { return token_; }
-  virtual void PrintDataTo(StringStream* stream) const;
-
-  virtual HType CalculateInferredType() const;
-
-  virtual intptr_t Hashcode() const {
+  virtual void PrintDataTo(StringStream* stream);
+
+  virtual HType CalculateInferredType();
+
+  virtual intptr_t Hashcode() {
     return HValue::Hashcode() * 7 + token_;
   }

   DECLARE_CONCRETE_INSTRUCTION(Compare, "compare")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HCompare* comp = HCompare::cast(other);
     return token_ == comp->token();
   }
@@ -2207,12 +2207,12 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(CompareJSObjectEq, "compare-js-object-eq")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2230,7 +2230,7 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();
 };


@@ -2244,7 +2244,7 @@
   DECLARE_CONCRETE_INSTRUCTION(IsNull, "is_null")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HIsNull* b = HIsNull::cast(other);
     return is_strict_ == b->is_strict();
   }
@@ -2261,7 +2261,7 @@
   DECLARE_CONCRETE_INSTRUCTION(IsObject, "is_object")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2272,7 +2272,7 @@
   DECLARE_CONCRETE_INSTRUCTION(IsSmi, "is_smi")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2290,7 +2290,7 @@
   DECLARE_CONCRETE_INSTRUCTION(IsConstructCall, "is_construct_call")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2306,12 +2306,12 @@
   InstanceType from() { return from_; }
   InstanceType to() { return to_; }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(HasInstanceType, "has_instance_type")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HHasInstanceType* b = HHasInstanceType::cast(other);
     return (from_ == b->from()) && (to_ == b->to());
   }
@@ -2329,7 +2329,7 @@
DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has_cached_array_index")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2340,7 +2340,7 @@
DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get_cached_array_index")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2351,12 +2351,12 @@

   DECLARE_CONCRETE_INSTRUCTION(ClassOfTest, "class_of_test")

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   Handle<String> class_name() const { return class_name_; }

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HClassOfTest* b = HClassOfTest::cast(other);
     return class_name_.is_identical_to(b->class_name_);
   }
@@ -2372,12 +2372,12 @@
       : HUnaryPredicate(value), type_literal_(type_literal) { }

   Handle<String> type_literal() { return type_literal_; }
-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(TypeofIs, "typeof_is")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HTypeofIs* b = HTypeofIs::cast(other);
     return type_literal_.is_identical_to(b->type_literal_);
   }
@@ -2409,7 +2409,7 @@
     return Representation::Tagged();
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   virtual int OperandCount() const { return 3; }
   virtual HValue* OperandAt(int index) const { return operands_[index]; }
@@ -2463,7 +2463,7 @@
   DECLARE_CONCRETE_INSTRUCTION(Power, "power")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2481,12 +2481,12 @@

   virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited);

-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(Add, "add")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2503,7 +2503,7 @@
   DECLARE_CONCRETE_INSTRUCTION(Sub, "sub")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2525,7 +2525,7 @@
   DECLARE_CONCRETE_INSTRUCTION(Mul, "mul")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2542,7 +2542,7 @@
   DECLARE_CONCRETE_INSTRUCTION(Mod, "mod")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2560,7 +2560,7 @@
   DECLARE_CONCRETE_INSTRUCTION(Div, "div")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2572,12 +2572,12 @@
       : HBitwiseBinaryOperation(left, right) { }

   virtual bool IsCommutative() const { return true; }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(BitAnd, "bit_and")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2589,12 +2589,12 @@
       : HBitwiseBinaryOperation(left, right) { }

   virtual bool IsCommutative() const { return true; }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(BitXor, "bit_xor")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2604,12 +2604,12 @@
       : HBitwiseBinaryOperation(left, right) { }

   virtual bool IsCommutative() const { return true; }
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(BitOr, "bit_or")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }

   virtual Range* InferRange();
 };
@@ -2621,12 +2621,12 @@
       : HBitwiseBinaryOperation(left, right) { }

   virtual Range* InferRange();
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(Shl, "shl")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2635,12 +2635,12 @@
   HShr(HValue* left, HValue* right)
       : HBitwiseBinaryOperation(left, right) { }

-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(Shr, "shr")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2650,12 +2650,12 @@
       : HBitwiseBinaryOperation(left, right) { }

   virtual Range* InferRange();
-  virtual HType CalculateInferredType() const;
+  virtual HType CalculateInferredType();

   DECLARE_CONCRETE_INSTRUCTION(Sar, "sar")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2682,7 +2682,7 @@

   unsigned index() const { return index_; }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter")

@@ -2710,7 +2710,7 @@
     return transcendental_type_;
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(CallStub, "call_stub")

@@ -2743,9 +2743,9 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual void PrintDataTo(StringStream* stream) const;
-
-  virtual intptr_t Hashcode() const {
+  virtual void PrintDataTo(StringStream* stream);
+
+  virtual intptr_t Hashcode() {
     ASSERT(!Heap::allow_allocation(false));
     return reinterpret_cast<intptr_t>(*cell_);
   }
@@ -2753,7 +2753,7 @@
   DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load_global")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HLoadGlobal* b = HLoadGlobal::cast(other);
     return cell_.is_identical_to(b->cell());
   }
@@ -2781,7 +2781,7 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store_global")

@@ -2806,12 +2806,12 @@
     return Representation::Tagged();
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load_context_slot")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HLoadContextSlot* b = HLoadContextSlot::cast(other);
     return (slot_index() == b->slot_index());
   }
@@ -2846,7 +2846,7 @@
     return Representation::Tagged();
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot, "store_context_slot")

@@ -2877,12 +2877,12 @@
   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
   }
-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load_named_field")

  protected:
-  virtual bool DataEquals(HValue* other) const {
+  virtual bool DataEquals(HValue* other) {
     HLoadNamedField* b = HLoadNamedField::cast(other);
     return is_in_object_ == b->is_in_object_ && offset_ == b->offset_;
   }
@@ -2934,7 +2934,7 @@
DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load_function_prototype")

  protected:
-  virtual bool DataEquals(HValue* other) const { return true; }
+  virtual bool DataEquals(HValue* other) { return true; }
 };


@@ -2944,7 +2944,7 @@
     set_representation(Representation::Tagged());
   }

-  virtual void PrintDataTo(StringStream* stream) const;
+  virtual void PrintDataTo(StringStream* stream);

   virtual Representation RequiredInputRepresentation(int index) const {
     return Representation::Tagged();
@@ -2973,7 +2973,7 @@
                                "load_keyed_fast_element")

***The diff for this file has been truncated for email.***

--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to