diff options
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 3dd42c85..7005718c 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8637,7 +8637,7 @@ def process(filename): Module.Child2.prototype.runVirtualFunc(c2); c2.virtualFunc2(); -''' + ('' if Settings.ASM_JS else ''' +''' + (''' // extend the class from JS var c3 = new Module.Child2; Module.customizeVTable(c3, [{ @@ -8667,6 +8667,8 @@ def process(filename): src.close() ''' + Settings.RESERVED_FUNCTION_POINTERS = 20 + self.do_run(src, '''* 84 c1 @@ -8697,7 +8699,7 @@ Child2:9 *static* *virtualf* *virtualf* -*virtualf2*''' + ('' if Settings.ASM_JS else ''' +*virtualf2*''' + (''' Parent:9 Child2:9 *js virtualf replacement* |