Index: test/cctest/compiler/test-run-inlining.cc |
diff --git a/test/cctest/compiler/test-run-inlining.cc b/test/cctest/compiler/test-run-inlining.cc |
index a678ccfa3ac773c7c69c7b4a94a6b7c41cd9cab3..234060c7f7c1b899894f3a7659adea4387a6346e 100644 |
--- a/test/cctest/compiler/test-run-inlining.cc |
+++ b/test/cctest/compiler/test-run-inlining.cc |
@@ -268,7 +268,8 @@ TEST(InlineTwice) { |
"(function () {" |
" var x = 42;" |
" function bar(s) { AssertInlineCount(2); return x + s; };" |
- " return (function (s,t) { return bar(s) + bar(t); });" |
+ " function foo(s, t) { return bar(s) + bar(t); };" |
+ " return foo;" |
"})();", |
kInlineFlags); |