| 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 d6876743c6f3085e60c5224c6a3ffbf3637524ab..47dff72b8ae5587fdba47a4c9f07c96f1240c17c 100644
|
| --- a/test/message/type-profile/collect-type-profile.js
|
| +++ b/test/message/type-profile/collect-type-profile.js
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2016 the V8 project authors. All rights reserved.
|
| +// Copyright 2017 the V8 project authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -39,7 +39,6 @@ function testReturnOfNonVariable() {
|
| }
|
|
|
| // Return statement is reached but its expression is never really returned.
|
| -// TODO(franzih): The only return type should be 'string'.
|
| function try_finally() {
|
| try {
|
| return 23;
|
| @@ -50,16 +49,12 @@ function try_finally() {
|
| try_finally();
|
| %PrintTypeProfile(try_finally);
|
|
|
| -// TODO(franzih): 'undefined' should be the return type.
|
| function fall_off() {
|
| //nothing
|
| }
|
| fall_off();
|
| %PrintTypeProfile(fall_off);
|
|
|
| -
|
| -
|
| -
|
| testReturnOfNonVariable();
|
|
|
| throw "throw otherwise test fails with --stress-opt";
|
|
|