| 546 | } |
| 547 | |
| 548 | llvm::Value* CodegenAnyVal::GetDate() { |
| 549 | // Get the high bytes of the first value. |
| 550 | DCHECK_EQ(type_.type, TYPE_TIMESTAMP); |
| 551 | llvm::Value* v = builder_->CreateExtractValue(value_, 0); |
| 552 | return GetHighBits(32, v); |
| 553 | } |
| 554 | |
| 555 | void CodegenAnyVal::SetTimeOfDay(llvm::Value* time_of_day) { |
| 556 | // Set the second i64 value to 'time_of_day'. |
no outgoing calls
no test coverage detected