Initial patch.
[vuplus_webkit] / PerformanceTests / SunSpider / tests / ubench / function-closure.js
diff --git a/PerformanceTests/SunSpider/tests/ubench/function-closure.js b/PerformanceTests/SunSpider/tests/ubench/function-closure.js
new file mode 100644 (file)
index 0000000..6c7dde1
--- /dev/null
@@ -0,0 +1,7 @@
+function f()
+{
+    function g() { }
+}
+
+for (var i = 0; i < 300000; ++i)
+    f();