Clarify the meaning of the symbol_value instruction.

This commit is contained in:
Dan Gohman
2018-09-27 11:43:41 -07:00
parent 6fdd58d143
commit aa5ba71c97
2 changed files with 10 additions and 5 deletions

View File

@@ -502,15 +502,15 @@ global_value = Instruction(
'global_value', r"""
Compute the value of global GV.
""",
ins=GV, outs=addr)
ins=GV, outs=a)
# A specialized form of global_value instructions that only handles
# symbolic names.
symbol_value = Instruction(
'symbol_value', r"""
Compute the value of global GV, which is a symbolic address.
Compute the value of global GV, which is a symbolic value.
""",
ins=GV, outs=addr)
ins=GV, outs=a)
#
# WebAssembly bounds-checked heap accesses.