diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-15 08:36:24 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-15 08:36:24 +0900 |
| commit | 93cabfc18b87d404e98aace2098174372a9afd58 (patch) | |
| tree | 3110670b06dc7ef69ec4b6dfc2c6d7144bb60366 /src/codegen.c | |
| parent | 040b57fae5ab001fdb04271131dbe33a713170d8 (diff) | |
| parent | f093ed69aec7a3640484bffbaa01b5e453495406 (diff) | |
| download | mruby-93cabfc18b87d404e98aace2098174372a9afd58.tar.gz mruby-93cabfc18b87d404e98aace2098174372a9afd58.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'src/codegen.c')
| -rw-r--r-- | src/codegen.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/codegen.c b/src/codegen.c index 1bdc2d21c..b64a18b96 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -298,20 +298,8 @@ push_(codegen_scope *s) s->sp++; nregs_update; } -#if 0 -static void -push_n_(codegen_scope *s, int n) -{ - if (s->sp + n > 511) { - codegen_error(s, "too complex expression"); - } - s->sp += n; - nregs_update; -} -#endif #define push() push_(s) -#define push_n(n) push_n_(s, n) #define pop() (s->sp--) #define pop_n(n) (s->sp-=(n)) #define cursp() (s->sp) |
