diff options
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/preamble.js b/src/preamble.js index 1e9e1f11..cd9138d4 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -690,12 +690,6 @@ Module['String_copy'] = String_copy; // Tools -if (typeof console === 'object' && typeof console.log === 'function') { - this['print'] = function(x) { console.log(x) }; // web console -} else if (typeof print === 'undefined') { - this['print'] = function(){}; // harmless no-op -} - // This processes a JS string into a C-line array of numbers, 0-terminated. // For LLVM-originating strings, see parser.js:parseLLVMString function function intArrayFromString(stringy, dontAddNull) { |