diff options
author | Mike Pall <mike> | 2014-12-03 14:09:17 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2014-12-03 14:09:17 +0100 |
commit | 3f2e4ec69946fa2c37b6a571948ee0909f6ddbea (patch) | |
tree | 137857d13bde154e2a1f696ada26403116aae5d4 /dynasm | |
parent | c75c62b489ebd0b4f9eb35af3b7d5a071939721e (diff) | |
download | luajit-3f2e4ec69946fa2c37b6a571948ee0909f6ddbea.tar.gz luajit-3f2e4ec69946fa2c37b6a571948ee0909f6ddbea.tar.bz2 luajit-3f2e4ec69946fa2c37b6a571948ee0909f6ddbea.zip |
DynASM/ARM: Fix description shown for multi-element templates.
Diffstat (limited to 'dynasm')
-rw-r--r-- | dynasm/dasm_arm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dynasm/dasm_arm.lua b/dynasm/dasm_arm.lua index b3a8827e..3aa8dead 100644 --- a/dynasm/dasm_arm.lua +++ b/dynasm/dasm_arm.lua | |||
@@ -923,7 +923,7 @@ local function parse_template(params, template, nparams, pos) | |||
923 | end | 923 | end |
924 | 924 | ||
925 | map_op[".template__"] = function(params, template, nparams) | 925 | map_op[".template__"] = function(params, template, nparams) |
926 | if not params then return sub(template, 9) end | 926 | if not params then return template:gsub("%x%x%x%x%x%x%x%x", "") end |
927 | 927 | ||
928 | -- Limit number of section buffer positions used by a single dasm_put(). | 928 | -- Limit number of section buffer positions used by a single dasm_put(). |
929 | -- A single opcode needs a maximum of 3 positions. | 929 | -- A single opcode needs a maximum of 3 positions. |