Wrap FunctionName in a newtype struct.
Function names display differently than normal strings since they need quotes and escaping. Move the FunctionName type into its own module.
This commit is contained in:
@@ -29,7 +29,7 @@ ebb100(v20: i32):
|
||||
vx200 = iadd v20, v1000
|
||||
jump ebb100(v1000)
|
||||
}
|
||||
; sameln: function "use_value"() {
|
||||
; sameln: function use_value() {
|
||||
; nextln: ebb0(vx0: i32):
|
||||
; nextln: v0 = iadd_imm vx0, 5
|
||||
; nextln: v1 = iadd vx0, v0
|
||||
|
||||
Reference in New Issue
Block a user