Use a helper function outputConstantsInPlane in outputConstants.

llvm-svn: 2897
diff --git a/llvm/lib/Bytecode/Writer/WriterInternals.h b/llvm/lib/Bytecode/Writer/WriterInternals.h
index 7b54a56..51374ee 100644
--- a/llvm/lib/Bytecode/Writer/WriterInternals.h
+++ b/llvm/lib/Bytecode/Writer/WriterInternals.h
@@ -38,6 +38,8 @@
 
   void outputModuleInfoBlock(const Module *C);
   void outputSymbolTable(const SymbolTable &ST);
+  void outputConstantsInPlane(const std::vector<const Value*> &Plane,
+                              unsigned StartNo);
   bool outputConstant(const Constant *CPV);
   void outputType(const Type *T);
 };