e1d878d16f
TEST=mjsunit/regress/regress-crbug-448730 BUG=chromium:448730 LOG=y R=jarin@chromium.org Review URL: https://codereview.chromium.org/847373002 Cr-Commit-Position: refs/heads/master@{#26056}
15 lines
382 B
JavaScript
15 lines
382 B
JavaScript
// Copyright 2015 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-syntax --harmony-proxies
|
|
|
|
function bar() {}
|
|
bar({ a: Proxy.create({}) });
|
|
function foo(x) { x.a.b == ""; }
|
|
var x = {a: {b: "" }};
|
|
foo(x);
|
|
foo(x);
|
|
%OptimizeFunctionOnNextCall(foo);
|
|
foo(x);
|