42ed37d015
The DecompressionElimination reducer can handle that case with the comparison of Decompress vs HeapConstant. There is no need to do extra work. Reverts parts of https://chromium-review.googlesource.com/c/v8/v8/+/1518182. The rest of that CL was reverted in a previous CL where the AccessBuilders were updated. Cq-Include-Trybots: luci.v8.try:v8_linux64_pointer_compression_rel_ng Cq-Include-Trybots: luci.v8.try:v8_linux64_arm64_pointer_compression_rel_ng Bug: v8:8977, v8:7703 Change-Id: I871577e49f9ccd95864af54bdd61884d34b7f223 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1628792 Reviewed-by: Michael Stanton <mvstanton@chromium.org> Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org> Cr-Commit-Position: refs/heads/master@{#61883}
37 lines
906 B
C++
37 lines
906 B
C++
// 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.
|
|
|
|
#ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
|
|
#define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
|
|
|
|
#include <vector>
|
|
|
|
#include "src/handles/handles.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
class Map;
|
|
class Zone;
|
|
|
|
namespace compiler {
|
|
|
|
class JSGraph;
|
|
class NodeOriginTable;
|
|
class Schedule;
|
|
class SourcePositionTable;
|
|
|
|
enum class MaskArrayIndexEnable { kDoNotMaskArrayIndex, kMaskArrayIndex };
|
|
|
|
V8_EXPORT_PRIVATE void LinearizeEffectControl(
|
|
JSGraph* graph, Schedule* schedule, Zone* temp_zone,
|
|
SourcePositionTable* source_positions, NodeOriginTable* node_origins,
|
|
MaskArrayIndexEnable mask_array_index);
|
|
|
|
} // namespace compiler
|
|
} // namespace internal
|
|
} // namespace v8
|
|
|
|
#endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
|