aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-11-17 23:13:17 -0800
committerAlon Zakai <azakai@mozilla.com>2010-11-17 23:13:17 -0800
commitdaa624b9f9be7abdff1c4551e193a26f913b695b (patch)
tree6d321cc891ef5377c3e77fbf21abf9f3496cc16f /tests/runner.py
parent6ce73a0bd1f8a1c6b2edf4b2f3d5eca64bcf3544 (diff)
tweaks for frontend-optimized input
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d35afa86..b9f7939c 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1039,11 +1039,11 @@ if 'benchmark' not in sys.argv:
int getVal(); // XXX Sadly, inlining these will result in LLVM not
// producing any code for them (when just building
// as a library)
- int mulVal(int mul);
+ void mulVal(int mul);
};
ScriptMe::ScriptMe(int val) : value(val) { }
int ScriptMe::getVal() { return value; }
- int ScriptMe::mulVal(int mul) { value *= mul; }
+ void ScriptMe::mulVal(int mul) { value *= mul; }
'''
script_src = '''
var sme = Module._.ScriptMe.__new__(83); // malloc(sizeof(ScriptMe)), ScriptMe::ScriptMe(sme, 83) / new ScriptMe(83) (at addr sme)