diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-05 13:20:30 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-05 13:20:30 -0700 |
commit | 558ac1930bf2fb014e8906408a5821c61729382a (patch) | |
tree | f8ba4e169f582478a4dad78a3205b0a9043ff8a1 /tests/runner.py | |
parent | 9e05d4f86af33dd3e940b9958e2d44d6c7426b02 (diff) |
generalize customizeVTable to support asm
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* |