diff src/share/vm/adlc/filebuff.hpp @ 415:4d9884b01ba6

6754519: don't emit flag fixup for NaN when condition being tested doesn't need it Reviewed-by: kvn, rasbold
author never
date Tue, 28 Oct 2008 09:31:30 -0700
parents 3e82d72933d0
children ad8c8ca4ab0f 284d0af00d53
line wrap: on
line diff
--- a/src/share/vm/adlc/filebuff.hpp	Tue Oct 21 11:23:52 2008 -0700
+++ b/src/share/vm/adlc/filebuff.hpp	Tue Oct 28 09:31:30 2008 -0700
@@ -51,6 +51,7 @@
 
   int   _err;                   // Error flag for file seek/read operations
   long  _filepos;               // Current offset from start of file
+  int   _linenum;
 
   ArchDesc& _AD;                // Reference to Architecture Description
 
@@ -66,6 +67,7 @@
   // This returns a pointer to the start of the current line in the buffer,
   // and increments bufeol and filepos to point at the end of that line.
   char *get_line(void);
+  int linenum() const { return _linenum; }
 
   // This converts a pointer into the buffer to a file offset.  It only works
   // when the pointer is valid (i.e. just obtained from getline()).