99641cb424
The interpreted-frames-native-stack flag has been broken since pointer compression was enabled. This fixes the load of the field. Bug: v8:10138 Change-Id: I746407a7a5680c5d3e9a3b190371af00818282b7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2011206 Commit-Queue: Igor Sheludko <ishell@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#65878}
20 lines
413 B
JavaScript
20 lines
413 B
JavaScript
// Copyright 2020 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 --interpreted-frames-native-stack
|
|
|
|
function f() {
|
|
g();
|
|
}
|
|
|
|
function g() {
|
|
%DeoptimizeFunction(f);
|
|
%DeoptimizeFunction(f);
|
|
}
|
|
|
|
%PrepareFunctionForOptimization(f);
|
|
f(); f();
|
|
%OptimizeFunctionOnNextCall(f);
|
|
f();
|