| Index: test/mjsunit/deserialize-optimize-inner.js
|
| diff --git a/test/mjsunit/debug-compile-optimized.js b/test/mjsunit/deserialize-optimize-inner.js
|
| similarity index 54%
|
| copy from test/mjsunit/debug-compile-optimized.js
|
| copy to test/mjsunit/deserialize-optimize-inner.js
|
| index 468605abaab079d4b19250b90fed7048bec205aa..72df32018af497936ca870ed8901e993f614dcbf 100644
|
| --- a/test/mjsunit/debug-compile-optimized.js
|
| +++ b/test/mjsunit/deserialize-optimize-inner.js
|
| @@ -2,17 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --expose-debug-as debug --allow-natives-syntax --crankshaft
|
| +// Flags: --allow-natives-syntax --cache=code --no-lazy --serialize-inner
|
|
|
| -Debug = debug.Debug;
|
| +function f(x, y) { return x + y; }
|
|
|
| -Debug.setListener(function() {});
|
| -
|
| -function f() {}
|
| -f();
|
| -f();
|
| +assertEquals(1, f(0, 1));
|
| +assertEquals(5, f(2, 3));
|
| %OptimizeFunctionOnNextCall(f);
|
| -f();
|
| +assertEquals(9, f(4, 5));
|
| assertOptimized(f);
|
| -
|
| -Debug.setListener(null);
|
|
|