blob: 6482a474ef9730b753eab3c8cb4858e7e91372c0 [file] [log] [blame]
Ted Kremenekc47dfdd2007-11-07 18:39:22 +00001//===-- SerializeAPInt.cpp - Serialization for APFloat ---------*- C++ -*--===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Ted Kremenek and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements serialization of APFloat.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/ADT/APFloat.h"
15#include "llvm/Bitcode/Serialize.h"
16
17using namespace llvm;
18
19void APFloat::Emit(Serializer& S) const {
20 S.Emit(convertToAPInt());
21}