Esempio n. 1
0
Value SmallInt::GetNullValue(CodeGen &codegen) const {
  auto *raw_val = codegen.Const16(peloton::type::PELOTON_INT16_NULL);
  return Value{Type{TypeId(), true}, raw_val, nullptr, codegen.ConstBool(true)};
}
Esempio n. 2
0
Value SmallInt::GetMaxValue(CodeGen &codegen) const {
  auto *raw_val = codegen.Const16(peloton::type::PELOTON_INT16_MAX);
  return Value{*this, raw_val, nullptr, nullptr};
}