| Index: runtime/vm/intermediate_language_arm.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_arm.cc (revision 24474)
|
| +++ runtime/vm/intermediate_language_arm.cc (working copy)
|
| @@ -264,36 +264,6 @@
|
| }
|
|
|
|
|
| -LocationSummary* ArgumentDefinitionTestInstr::MakeLocationSummary() const {
|
| - const intptr_t kNumInputs = 1;
|
| - const intptr_t kNumTemps = 0;
|
| - LocationSummary* locs =
|
| - new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall);
|
| - locs->set_in(0, Location::RegisterLocation(R0));
|
| - locs->set_out(Location::RegisterLocation(R0));
|
| - return locs;
|
| -}
|
| -
|
| -
|
| -void ArgumentDefinitionTestInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| - Register saved_args_desc = locs()->in(0).reg();
|
| - Register result = locs()->out().reg();
|
| -
|
| - // Push the result place holder initialized to NULL.
|
| - __ PushObject(Object::ZoneHandle());
|
| - __ LoadImmediate(IP, Smi::RawValue(formal_parameter_index()));
|
| - __ Push(IP);
|
| - __ PushObject(formal_parameter_name());
|
| - __ Push(saved_args_desc);
|
| - compiler->GenerateCallRuntime(token_pos(),
|
| - deopt_id(),
|
| - kArgumentDefinitionTestRuntimeEntry,
|
| - locs());
|
| - __ Drop(3);
|
| - __ Pop(result); // Pop bool result.
|
| -}
|
| -
|
| -
|
| static Condition TokenKindToSmiCondition(Token::Kind kind) {
|
| switch (kind) {
|
| case Token::kEQ: return EQ;
|
|
|