[turbofan] Add missing deopt.
BUG=chromium:447567 LOG=n R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/809463005 Cr-Commit-Position: refs/heads/master@{#26033}
This commit is contained in:
parent
cf09a5a191
commit
527e19afd5
@ -179,6 +179,7 @@ bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
|
|||||||
case Runtime::kNewObjectFromBound:
|
case Runtime::kNewObjectFromBound:
|
||||||
case Runtime::kNewObjectWithAllocationSite:
|
case Runtime::kNewObjectWithAllocationSite:
|
||||||
case Runtime::kObjectFreeze:
|
case Runtime::kObjectFreeze:
|
||||||
|
case Runtime::kObjectSeal:
|
||||||
case Runtime::kOwnKeys:
|
case Runtime::kOwnKeys:
|
||||||
case Runtime::kParseJson:
|
case Runtime::kParseJson:
|
||||||
case Runtime::kPrepareStep:
|
case Runtime::kPrepareStep:
|
||||||
@ -202,6 +203,7 @@ bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
|
|||||||
case Runtime::kStringBuilderJoin:
|
case Runtime::kStringBuilderJoin:
|
||||||
case Runtime::kStringMatch:
|
case Runtime::kStringMatch:
|
||||||
case Runtime::kStringReplaceGlobalRegExpWithString:
|
case Runtime::kStringReplaceGlobalRegExpWithString:
|
||||||
|
case Runtime::kThrowConstAssignError:
|
||||||
case Runtime::kThrowNonMethodError:
|
case Runtime::kThrowNonMethodError:
|
||||||
case Runtime::kThrowNotDateError:
|
case Runtime::kThrowNotDateError:
|
||||||
case Runtime::kThrowReferenceError:
|
case Runtime::kThrowReferenceError:
|
||||||
|
15
test/mjsunit/compiler/regress-447567.js
Normal file
15
test/mjsunit/compiler/regress-447567.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 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: --turbo-deoptimization
|
||||||
|
|
||||||
|
assertThrows(function() {
|
||||||
|
[0].every(function(){ Object.seal((new Int8Array())); });
|
||||||
|
})
|
||||||
|
|
||||||
|
assertThrows(function() {
|
||||||
|
"use strict";
|
||||||
|
const v = 42;
|
||||||
|
v += 1;
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user