mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6754519
: don't emit flag fixup for NaN when condition being tested doesn't need it
Reviewed-by: kvn, rasbold
This commit is contained in:
parent
f3a403d0d4
commit
429a95440a
16 changed files with 1125 additions and 253 deletions
|
@ -51,6 +51,7 @@ class FileBuff {
|
|||
|
||||
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 @@ class FileBuff {
|
|||
// 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()).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue