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;
|
||||
if (action >= DASM__MAX) {
|
||||
ofs += 2;
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
int *pl, n = action >= DASM_REL_PC ? va_arg(ap, int) : 0;
|
||||
switch (action) {
|
||||
case DASM_STOP:
|
||||
@ -280,7 +282,6 @@ void dasm_put(Dst_DECL, int start, ...)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
stop:
|
||||
va_end(ap);
|
||||
sec->pos = pos;
|
||||
|
Loading…
Reference in New Issue
Block a user