This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 1.js 2013-02-26 11:18:23.328829011 -0500 | |
+++ 2.js 2013-02-26 11:18:18.572829209 -0500 | |
@@ -1411,25 +1411,32 @@ | |
var $__first2 = __stackBase__; | |
HEAP32[$__first2 >> 2] = $__first2_0; | |
var $__first1 = STACKTOP; | |
STACKTOP = STACKTOP + 4 | 0; | |
HEAP32[$__first1 >> 2] = $__first1_0; | |
- if (!__ZneRK14input_iteratorIPKiES4_($__first2_0, $__last2_0)) { | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/library_gl.js b/src/library_gl.js | |
index 297a36c..fdd138b 100644 | |
--- a/src/library_gl.js | |
+++ b/src/library_gl.js | |
@@ -1857,42 +1857,40 @@ var LibraryGL = { | |
for (var i = 0; i < this.NUM_ATTRIBUTES; i++) { | |
if (this.rendererComponents[i]) this.enabledClientAttributes[i] = false; | |
} | |
}, | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code | |
// Note: Some Emscripten settings may limit the speed of the generated code. | |
try { | |
this['Module'] = Module; | |
} catch(e) { | |
this['Module'] = Module = {}; | |
} | |
// The environment setup code below is customized to use Module. | |
// *** Environment setup code *** | |
var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
waka | |
<script src="src.cpp.o.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/runner.py b/tests/runner.py | |
index 73dbab1..dc3f721 100755 | |
--- a/tests/runner.py | |
+++ b/tests/runner.py | |
@@ -9009,6 +9009,32 @@ def process(filename): | |
''' | |
self.do_run(src, 'abs(-10): 10\nabs(-11): 11'); | |
+ def test_embind2jslib(self): | |
+ if self.emcc_args is None: return self.skip('requires emcc') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// t245.c | |
// Generated by Moh's fuzzer on Fri Jun 21 22:42:39 2013 | |
// | |
// Intel Corporation | |
// | |
#include <stdio.h> | |
#define N 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 | |
46 | |
40 | |
41 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/emcc b/emcc | |
index 91b109b..e40bfef 100755 | |
--- a/emcc | |
+++ b/emcc | |
@@ -1079,14 +1079,17 @@ try: | |
assert not memory_init_file, 'memory init file is not supported with module linking' | |
shared.Settings.LINKABLE = 1 # TODO: add FORCE_DCE option for the brave people that do want to dce here and in side modules | |
debug_level = max(debug_level, 2) | |
if shared.Settings.DLOPEN_SUPPORT: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code | |
// Note: Some Emscripten settings may limit the speed of the generated code. | |
// The Module object: Our interface to the outside world. We import | |
// and export values on it, and do the work to get that through | |
// closure compiler if necessary. There are various ways Module can be used: | |
// 1. Not defined. We create it here | |
// 2. A function parameter, function(Module) { ..generated code.. } | |
// 3. pre-run appended it, var Module = {}; ..generated code.. | |
// 4. External script tag defines var Module. | |
// We need to do an eval in order to handle the closure compiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/emcc b/emcc | |
index 0eb4499..c6ecbf0 100755 | |
--- a/emcc | |
+++ b/emcc | |
@@ -1066,15 +1066,14 @@ try: | |
if shared.Settings.CORRECT_SIGNS >= 2 or shared.Settings.CORRECT_OVERFLOWS >= 2 or shared.Settings.CORRECT_ROUNDINGS >= 2: | |
debug_level = 4 # must keep debug info to do line-by-line operations | |
if debug_level > 1 and closure: | |
logging.warning('disabling closure because debug info was requested') |