| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index b3536725bbfcb44e4ee5e5d3d764ef18188377b7..6bae64ebc9d7983822e2cf28d40edc2a4e198029 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -820,6 +820,7 @@ bool HInstruction::CanDeoptimize() {
|
| case HValue::kLeaveInlined:
|
| case HValue::kLoadFieldByIndex:
|
| case HValue::kLoadGlobalGeneric:
|
| + case HValue::kLoadGlobalViaContext:
|
| case HValue::kLoadNamedField:
|
| case HValue::kLoadNamedGeneric:
|
| case HValue::kLoadRoot:
|
| @@ -833,6 +834,7 @@ bool HInstruction::CanDeoptimize() {
|
| case HValue::kSeqStringGetChar:
|
| case HValue::kStoreCodeEntry:
|
| case HValue::kStoreFrameContext:
|
| + case HValue::kStoreGlobalViaContext:
|
| case HValue::kStoreKeyed:
|
| case HValue::kStoreNamedField:
|
| case HValue::kStoreNamedGeneric:
|
| @@ -3582,6 +3584,14 @@ std::ostream& HStoreNamedGeneric::PrintDataTo(
|
| }
|
|
|
|
|
| +std::ostream& HStoreGlobalViaContext::PrintDataTo(
|
| + std::ostream& os) const { // NOLINT
|
| + Handle<String> n = Handle<String>::cast(name());
|
| + return os << n->ToCString().get() << " = " << NameOf(value())
|
| + << " depth:" << depth() << " slot:" << slot_index();
|
| +}
|
| +
|
| +
|
| std::ostream& HStoreNamedField::PrintDataTo(std::ostream& os) const { // NOLINT
|
| os << NameOf(object()) << access_ << " = " << NameOf(value());
|
| if (NeedsWriteBarrier()) os << " (write-barrier)";
|
| @@ -3632,6 +3642,13 @@ std::ostream& HLoadGlobalGeneric::PrintDataTo(
|
| }
|
|
|
|
|
| +std::ostream& HLoadGlobalViaContext::PrintDataTo(
|
| + std::ostream& os) const { // NOLINT
|
| + return os << name()->ToCString().get() << " "
|
| + << "depth:" << depth() << " slot:" << slot_index();
|
| +}
|
| +
|
| +
|
| std::ostream& HInnerAllocatedObject::PrintDataTo(
|
| std::ostream& os) const { // NOLINT
|
| os << NameOf(base_object()) << " offset ";
|
|
|