diff options
Diffstat (limited to 'src/jit/zone.lua')
-rw-r--r-- | src/jit/zone.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jit/zone.lua b/src/jit/zone.lua index da2eccb0..7201d014 100644 --- a/src/jit/zone.lua +++ b/src/jit/zone.lua | |||
@@ -35,7 +35,11 @@ return setmetatable({ | |||
35 | end | 35 | end |
36 | }, { | 36 | }, { |
37 | __call = function(t, zone) | 37 | __call = function(t, zone) |
38 | if zone then t[#t+1] = zone else return assert(remove(t)) end | 38 | if zone then |
39 | t[#t+1] = zone | ||
40 | else | ||
41 | return (assert(remove(t), "empty zone stack")) | ||
42 | end | ||
39 | end | 43 | end |
40 | }) | 44 | }) |
41 | 45 | ||