mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Reduce indentation level of big switch statement.
A style thing. I find it easier to read this way. i.e. do: while(1) { if (blah) { ... continue; } ... // big switch statement } instead of: while(1) { if (blah) { ... } else { ... // big switch statement } }
This commit is contained in:
parent
fc2b633532
commit
2324be897e
@ -196,7 +196,9 @@ void dasm_put(Dst_DECL, int start, ...)
|
|||||||
unsigned short action = ins;
|
unsigned short action = ins;
|
||||||
if (action >= DASM__MAX) {
|
if (action >= DASM__MAX) {
|
||||||
ofs += 2;
|
ofs += 2;
|
||||||
} else {
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
int *pl, n = action >= DASM_REL_PC ? va_arg(ap, int) : 0;
|
int *pl, n = action >= DASM_REL_PC ? va_arg(ap, int) : 0;
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case DASM_STOP:
|
case DASM_STOP:
|
||||||
@ -280,7 +282,6 @@ void dasm_put(Dst_DECL, int start, ...)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stop:
|
stop:
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
sec->pos = pos;
|
sec->pos = pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user