--- a/hotspot/src/share/vm/adlc/filebuff.hpp Tue Oct 21 11:23:52 2008 -0700
+++ b/hotspot/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()).