aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 4720798c..5d982395 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -914,7 +914,7 @@ function JSify(data, functionsOnly, givenTypes, givenFunctions) {
return makeSetValue(item.value.ident, getGetElementPtrIndexes(item.value), parseNumerical(item.ident), true, item.type) + ';';
});
- makeFuncLineZyme('unreachable', function(item) { return '// unreachable' });
+ makeFuncLineZyme('unreachable', function(item) { return 'throw "Reached an unreachable! Original .ll line: ' + item.lineNum + '";' });
// Final combiner