| Index: test/message/type-profile/collect-type-profile.js
|
| diff --git a/test/message/type-profile/collect-type-profile.js b/test/message/type-profile/collect-type-profile.js
|
| index 45572af20c3d3ee3988942804d572871b87069d1..e08d6caf1cc1a4f532e247da5934e61cf0e2a128 100644
|
| --- a/test/message/type-profile/collect-type-profile.js
|
| +++ b/test/message/type-profile/collect-type-profile.js
|
| @@ -2,22 +2,28 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --type-profile --turbo
|
| +// Flags: --type-profile --turbo --allow-natives-syntax
|
|
|
| function test(param) {
|
| var my_var1 = param;
|
| var my_var2 = 17;
|
| }
|
|
|
| +%PrintTypeProfile(test);
|
| +
|
| test({});
|
| test(123);
|
| test('hello');
|
| test(123);
|
| +%PrintTypeProfile(test);
|
| +
|
| test(undefined);
|
| test('hello');
|
| test({x: 12});
|
| test({x: 12});
|
|
|
| +%PrintTypeProfile(test);
|
| +
|
| class MyClass {
|
| constructor() {}
|
| }
|
|
|