v8/test/mjsunit/regress/regress-crbug-603463.js
ishell 28113880e3 Fix polymorphic keyed load handler selection for proxies.
BUG=chromium:603463
LOG=N

Review URL: https://codereview.chromium.org/1894203002

Cr-Commit-Position: refs/heads/master@{#35607}
2016-04-19 08:58:43 +00:00

17 lines
309 B
JavaScript

// 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.
function load(a, i) {
return a[i];
}
function f() {
return load(new Proxy({}, {}), undefined);
}
f();
f();
load([11, 22, 33], 0);
f();