summaryrefslogtreecommitdiff
path: root/src/ldump.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-05 11:21:01 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-05 13:29:35 +1000
commit0c48b50fc0f9f447153e2bdb935fb940ca18a745 (patch)
tree38b91b9c304ae9263966d417e60e88f6a67f341e /src/ldump.js
parentb3e2cedff9b47285709d83d9dc53dde5f2ba19e5 (diff)
downloadfengari-0c48b50fc0f9f447153e2bdb935fb940ca18a745.tar.gz
fengari-0c48b50fc0f9f447153e2bdb935fb940ca18a745.tar.bz2
fengari-0c48b50fc0f9f447153e2bdb935fb940ca18a745.zip
Proto.source should be a string, not a TValue
Fixes ar.source being internal tvalue
Diffstat (limited to 'src/ldump.js')
-rw-r--r--src/ldump.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldump.js b/src/ldump.js
index f36e18e..e26a214 100644
--- a/src/ldump.js
+++ b/src/ldump.js
@@ -150,7 +150,7 @@ const DumpFunction = function(f, psource, D) {
if (D.strip || f.source === psource)
DumpString(null, D); /* no debug info or same source as its parent */
else
- DumpString(f.source.value, D);
+ DumpString(f.source, D);
DumpInt(f.linedefined, D);
DumpInt(f.lastlinedefined, D);
DumpByte(f.numparams, D);