Commit d9381239 authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by Commit Bot

[ptr-compr][CSA] Removing tests that used explicit (De)Compress functions

Following up on https://chromium-review.googlesource.com/c/v8/v8/+/1637879,
this CL removes the tests that used explicit Compress/Decompress functions
in CSA

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:7703
Change-Id: I063678a732545eb505fa752612242ceeb42be823
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1640206
Auto-Submit: Santiago Aboy Solanes <solanes@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61962}
parent cf1c5815
......@@ -3545,34 +3545,6 @@ TEST(TestGotoIfDebugExecutionModeChecksSideEffects) {
CHECK_EQ(true, result->BooleanValue(isolate));
}
#ifdef V8_COMPRESS_POINTERS
TEST(CompressedSlotInterleavedGC) {
Isolate* isolate(CcTest::InitIsolateOnce());
const int kNumParams = 1;
CodeAssemblerTester asm_tester(isolate, kNumParams);
CodeStubAssembler m(asm_tester.state());
Node* compressed = m.ChangeTaggedToCompressed(m.Parameter(0));
m.Print(m.ChangeCompressedToTagged(compressed));
Node* const context = m.Parameter(kNumParams + 2);
m.CallRuntime(Runtime::kCollectGarbage, context, m.SmiConstant(0));
m.Return(m.ChangeCompressedToTagged(compressed));
FunctionTester ft(asm_tester.GenerateCode(), kNumParams);
Handle<Object> result =
ft.Call(isolate->factory()->NewNumber(0.5)).ToHandleChecked();
CHECK(result->IsHeapNumber());
CHECK_EQ(0.5, Handle<HeapNumber>::cast(result)->Number());
}
#endif // V8_COMPRESS_POINTERS
} // namespace compiler
} // namespace internal
} // namespace v8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment