Prepare the writer for a non-broken implementation of writing floating
point values. This will be fixed when I figure out how to do it correctly
without depending on knowing the endianess of a platform.

llvm-svn: 14762
diff --git a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
index 029e6cc..8ea192b 100644
--- a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -176,12 +176,12 @@
 
   case Type::FloatTyID: {   // Floating point types...
     float Tmp = (float)cast<ConstantFP>(CPV)->getValue();
-    output_data(&Tmp, &Tmp+1, Out);
+    output_float(Tmp, Out);
     break;
   }
   case Type::DoubleTyID: {
     double Tmp = cast<ConstantFP>(CPV)->getValue();
-    output_data(&Tmp, &Tmp+1, Out);
+    output_double(Tmp, Out);
     break;
   }