Scanner: Many int64 fixes, including performance.
- partially addresses #1209 and #1187 - only query 64-bit extension on seeing use of a 64-bit literal (was doing it for every single token) - correct HLSL acceptance of 64-bit literal syntax (still an int though) - error on overflow of 32-bit literal type
This commit is contained in:
parent
adc33b23cc
commit
c043aadd25
6 changed files with 61 additions and 47 deletions
|
|
@ -85,12 +85,12 @@ ERROR: node is still EOpNull!
|
|||
0:17 move second child to first child ( temp int)
|
||||
0:17 'obig' ( temp int)
|
||||
0:17 Constant:
|
||||
0:17 995208915 (const int)
|
||||
0:17 -1662398820 (const int)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child ( temp int)
|
||||
0:18 'omax1' ( temp int)
|
||||
0:18 Constant:
|
||||
0:18 536870912 (const int)
|
||||
0:18 0 (const int)
|
||||
0:20 Sequence
|
||||
0:20 move second child to first child ( temp uint)
|
||||
0:20 'uo5' ( temp uint)
|
||||
|
|
@ -225,7 +225,7 @@ ERROR: node is still EOpNull!
|
|||
0:50 move second child to first child ( temp int)
|
||||
0:50 'hbig' ( temp int)
|
||||
0:50 Constant:
|
||||
0:50 -1 (const int)
|
||||
0:50 -15 (const int)
|
||||
0:52 Sequence
|
||||
0:52 move second child to first child ( temp float)
|
||||
0:52 'f1' ( temp float)
|
||||
|
|
@ -494,12 +494,12 @@ ERROR: node is still EOpNull!
|
|||
0:17 move second child to first child ( temp int)
|
||||
0:17 'obig' ( temp int)
|
||||
0:17 Constant:
|
||||
0:17 995208915 (const int)
|
||||
0:17 -1662398820 (const int)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child ( temp int)
|
||||
0:18 'omax1' ( temp int)
|
||||
0:18 Constant:
|
||||
0:18 536870912 (const int)
|
||||
0:18 0 (const int)
|
||||
0:20 Sequence
|
||||
0:20 move second child to first child ( temp uint)
|
||||
0:20 'uo5' ( temp uint)
|
||||
|
|
@ -634,7 +634,7 @@ ERROR: node is still EOpNull!
|
|||
0:50 move second child to first child ( temp int)
|
||||
0:50 'hbig' ( temp int)
|
||||
0:50 Constant:
|
||||
0:50 -1 (const int)
|
||||
0:50 -15 (const int)
|
||||
0:52 Sequence
|
||||
0:52 move second child to first child ( temp float)
|
||||
0:52 'f1' ( temp float)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue