blob: 25d954faa138deb72616e76067a97ed78a416318 [file] [log] [blame]
Ted Kremenekc47dfdd2007-11-07 18:39:22 +00001//===-- SerializeAPInt.cpp - Serialization for APFloat ---------*- C++ -*--===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Ted Kremenekc47dfdd2007-11-07 18:39:22 +00007//
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 {
Dale Johannesen7111b022008-10-09 18:53:47 +000020 S.Emit(bitcastToAPInt());
Ted Kremenekc47dfdd2007-11-07 18:39:22 +000021}