| Index: runtime/vm/intermediate_language_dbc.cc
|
| diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc
|
| index 4e675296f48f63250bde9a11d461470d701a4e60..c79517e5b644099043413e62bfc9df0a430ef7c2 100644
|
| --- a/runtime/vm/intermediate_language_dbc.cc
|
| +++ b/runtime/vm/intermediate_language_dbc.cc
|
| @@ -482,6 +482,26 @@ static void EmitBranchOnCondition(FlowGraphCompiler* compiler,
|
| }
|
|
|
|
|
| +Condition SmiRangeComparisonInstr::GetNextInstructionCondition(
|
| + FlowGraphCompiler* compiler,
|
| + BranchLabels labels) {
|
| + return is_negated_ ? NEXT_IS_TRUE : NEXT_IS_FALSE;
|
| +}
|
| +
|
| +
|
| +Condition SmiRangeComparisonInstr::EmitComparisonCode(
|
| + FlowGraphCompiler* compiler,
|
| + BranchLabels labels) {
|
| + __ CheckClassIdRange(locs()->in(0).reg(),
|
| + compiler->ToEmbeddableCid(from_, this));
|
| + __ Nop(__ AddConstant(Smi::Handle(Smi::New(to_ - from_))));
|
| + return is_negated_ ? NEXT_IS_TRUE : NEXT_IS_FALSE;
|
| +}
|
| +
|
| +
|
| +DEFINE_MAKE_LOCATION_SUMMARY(SmiRangeComparison, 1)
|
| +
|
| +
|
| Condition StrictCompareInstr::GetNextInstructionCondition(
|
| FlowGraphCompiler* compiler,
|
| BranchLabels labels) {
|
|
|