runtime/vm/compiler/backend/loops.cc
// Helper method that determines if a definition is a constant.
Helper method that determines if a definition is a constant.
Helper method that determines if a definition is a constant .
static bool IsConstant(Definition* def, int64_t* val) {
  if (def->IsConstant()) {
    const Object& value = def->AsConstant()->value();
    if (value.IsInteger()) {
      *val = Integer::Cast(value).AsInt64Value();  
      return true;
    }
  }
  return false;
}
static bool IsConstant ( Definition * def , int64_t * val ) { if ( def -> IsConstant ( ) ) { const Object & value = def -> AsConstant ( ) -> value ( ) ; if ( value . IsInteger ( ) ) { * val = Integer :: Cast ( value ) . AsInt64Value ( ) ; return true ; } } return false ; }
Helper method that determines if a definition is a constant.
Helper method that determines if a definition is a constant .
// smi and mint