// Copyright 2016 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.// Flags: --allow-natives-syntaxfunctionid(a){returna;}(functionLiteralCompareNullDeopt(){functionf(){returnid(null==%DeoptimizeNow());}%OptimizeFunctionOnNextCall(f);assertTrue(f());})();(functionLiteralCompareUndefinedDeopt(){functionf(){returnid(undefined==%DeoptimizeNow());}%OptimizeFunctionOnNextCall(f);assertTrue(f());})();(functionLiteralCompareTypeofDeopt(){functionf(){returnid("undefined"==typeof(%DeoptimizeNow()));}%OptimizeFunctionOnNextCall(f);assertTrue(f());})();