| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index 64a791d496576a53a227f2ff47bc176e4eeed170..bb343b5c0477c6d1f80493dc36f923c089617e47 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -199,38 +199,6 @@ ContextAccess const& ContextAccessOf(Operator const* op) {
|
| }
|
|
|
|
|
| -DynamicAccess::DynamicAccess(const Handle<String>& name, TypeofMode typeof_mode)
|
| - : name_(name), typeof_mode_(typeof_mode) {}
|
| -
|
| -
|
| -bool operator==(DynamicAccess const& lhs, DynamicAccess const& rhs) {
|
| - UNIMPLEMENTED();
|
| - return true;
|
| -}
|
| -
|
| -
|
| -bool operator!=(DynamicAccess const& lhs, DynamicAccess const& rhs) {
|
| - return !(lhs == rhs);
|
| -}
|
| -
|
| -
|
| -size_t hash_value(DynamicAccess const& access) {
|
| - UNIMPLEMENTED();
|
| - return 0;
|
| -}
|
| -
|
| -
|
| -std::ostream& operator<<(std::ostream& os, DynamicAccess const& access) {
|
| - return os << Brief(*access.name()) << ", " << access.typeof_mode();
|
| -}
|
| -
|
| -
|
| -DynamicAccess const& DynamicAccessOf(Operator const* op) {
|
| - DCHECK_EQ(IrOpcode::kJSLoadDynamic, op->opcode());
|
| - return OpParameter<DynamicAccess>(op);
|
| -}
|
| -
|
| -
|
| bool operator==(NamedAccess const& lhs, NamedAccess const& rhs) {
|
| return lhs.name().location() == rhs.name().location() &&
|
| lhs.language_mode() == rhs.language_mode() &&
|
| @@ -854,17 +822,6 @@ const Operator* JSOperatorBuilder::StoreContext(size_t depth, size_t index) {
|
| }
|
|
|
|
|
| -const Operator* JSOperatorBuilder::LoadDynamic(const Handle<String>& name,
|
| - TypeofMode typeof_mode) {
|
| - DynamicAccess access(name, typeof_mode);
|
| - return new (zone()) Operator1<DynamicAccess>( // --
|
| - IrOpcode::kJSLoadDynamic, Operator::kNoProperties, // opcode
|
| - "JSLoadDynamic", // name
|
| - 2, 1, 1, 1, 1, 2, // counts
|
| - access); // parameter
|
| -}
|
| -
|
| -
|
| const Operator* JSOperatorBuilder::CreateArguments(CreateArgumentsType type) {
|
| return new (zone()) Operator1<CreateArgumentsType>( // --
|
| IrOpcode::kJSCreateArguments, Operator::kNoThrow, // opcode
|
|
|