From 431b4f5e896905244a3e101b9092101ffd5ba274 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 8 May 2017 12:38:21 +1000 Subject: src/ldump.js: Convert f.is_vararg field to number when writing out --- src/ldump.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ldump.js') diff --git a/src/ldump.js b/src/ldump.js index 1298a03..128b270 100644 --- a/src/ldump.js +++ b/src/ldump.js @@ -154,7 +154,7 @@ const DumpFunction = function(f, psource, D) { DumpInt(f.linedefined, D); DumpInt(f.lastlinedefined, D); DumpByte(f.numparams, D); - DumpByte(f.is_vararg, D); + DumpByte(f.is_vararg?1:0, D); DumpByte(f.maxstacksize, D); DumpCode(f, D); DumpConstants(f, D); -- cgit v1.2.3-70-g09d2