projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ce6a4
)
assemble: Add case3 helper
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Sat, 1 Dec 2012 22:47:16 +0000
(
02:47
+0400)
committer
Cyrill Gorcunov
<gorcunov@gmail.com>
Fri, 1 Mar 2013 22:46:17 +0000
(
02:46
+0400)
Signed-off-by: cyrill <cyrill@cyrills-MacBook-Pro.local>
assemble.c
patch
|
blob
|
history
diff --git
a/assemble.c
b/assemble.c
index
f025360
..
0f3a338
100644
(file)
--- a/
assemble.c
+++ b/
assemble.c
@@
-806,7
+806,8
@@
static void bad_hle_warn(const insn * ins, uint8_t hleok)
}
/* Common construct */
-#define case4(x) case (x): case (x)+1: case (x)+2: case (x)+3
+#define case3(x) case (x): case (x)+1: case (x)+2
+#define case4(x) case3(x): case (x)+3
static int64_t calcsize(int32_t segment, int64_t offset, int bits,
insn * ins, const struct itemplate *temp)