aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-16 12:27:22 -0700
committeralon@honor <none@none>2010-10-16 12:27:22 -0700
commit9290e904560e8994d8c657a771150de0d86a4b49 (patch)
treebcbfe00c73d0e8e9bf3759e3b9ddc0b405cc3fa8 /tests/runner.py
parent5612c15553f50272c269d760aad3e12183f8c059 (diff)
optimize stack winding with local var; 5% speedup
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 47357424..628c8e8d 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -230,7 +230,7 @@ if 'benchmark' not in sys.argv:
if (i > 0) {
return test(i-1);
}
- return int(&x);
+ return int(&x); // both useful for the number, and forces x to not be nativized
}
int main()
{