| Index: runtime/vm/intermediate_language.cc
|
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
|
| index f0f1319608529f945c1d63103c819961c2e7a02a..e2c37a814b1e34dd5e31529a766315b788fd8609 100644
|
| --- a/runtime/vm/intermediate_language.cc
|
| +++ b/runtime/vm/intermediate_language.cc
|
| @@ -179,16 +179,6 @@ bool Value::StaticTypeIsMoreSpecificThan(const AbstractType& dst_type) const {
|
| }
|
|
|
|
|
| -intptr_t AllocateObjectComp::InputCount() const {
|
| - return arguments().length();
|
| -}
|
| -
|
| -
|
| -intptr_t AllocateObjectWithBoundsCheckComp::InputCount() const {
|
| - return arguments().length();
|
| -}
|
| -
|
| -
|
| RawAbstractType* PhiInstr::StaticType() const {
|
| // TODO(regis): Return the least upper bound of the input static types.
|
| // It is much simpler to compute the least specific of the input static types,
|
| @@ -1139,7 +1129,7 @@ void AllocateObjectComp::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| try_index(),
|
| &label,
|
| PcDescriptors::kOther);
|
| - __ Drop(arguments().length()); // Discard arguments.
|
| + __ Drop(ArgumentCount()); // Discard arguments.
|
| }
|
|
|
|
|
|
|