Track stack slot kinds.
Add a StackSlotKind enumeration to help keep track of the different kinds of stack slots supported: - Incoming and outgoing function arguments on the stack. - Spill slots and locals. Change the text format syntax for declaring a stack slot to use a kind keyword rather than just 'stack_slot'.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
test verifier
|
||||
|
||||
function %average(i32, i32) -> f32 {
|
||||
ss1 = stack_slot 8 ; Stack slot for ``sum``.
|
||||
ss1 = local 8 ; Stack slot for ``sum``.
|
||||
|
||||
ebb1(v1: i32, v2: i32):
|
||||
v3 = f64const 0x0.0
|
||||
|
||||
Reference in New Issue
Block a user