We're not going to spend 100% of time in interrupts, do we? :)
[llvm/msp430.git] / lib / Bitcode / Reader / DeserializeAPFloat.cpp
blobee24b681f026f6f219448fcdd4a41faadd64e0e5
1 //===-- SerializeAPInt.cpp - Serialization for APFloat ---------*- C++ -*--===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements deserialization of APFloat.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/ADT/APFloat.h"
15 #include "llvm/Bitcode/Deserialize.h"
17 using namespace llvm;
19 APFloat APFloat::ReadVal(Deserializer& D) {
20 APInt x;
21 D.Read(x);
22 return APFloat(x);