Commit 8104f1d4 authored by andrew-cc-chen's avatar andrew-cc-chen Committed by Commit Bot

PPC: removed AIX function descriptors in tests

Change-Id: I8e353e6ae46b16abfe2812af88b6718250854e29
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1503562Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#60058}
parent 95d4a55e
...@@ -55,8 +55,6 @@ TEST(0) { ...@@ -55,8 +55,6 @@ TEST(0) {
Assembler assm(AssemblerOptions{}); Assembler assm(AssemblerOptions{});
__ function_descriptor();
__ add(r3, r3, r4); __ add(r3, r3, r4);
__ blr(); __ blr();
...@@ -83,8 +81,6 @@ TEST(1) { ...@@ -83,8 +81,6 @@ TEST(1) {
Assembler assm(AssemblerOptions{}); Assembler assm(AssemblerOptions{});
Label L, C; Label L, C;
__ function_descriptor();
__ mr(r4, r3); __ mr(r4, r3);
__ li(r3, Operand::Zero()); __ li(r3, Operand::Zero());
__ b(&C); __ b(&C);
...@@ -120,8 +116,6 @@ TEST(2) { ...@@ -120,8 +116,6 @@ TEST(2) {
Assembler assm(AssemblerOptions{}); Assembler assm(AssemblerOptions{});
Label L, C; Label L, C;
__ function_descriptor();
__ mr(r4, r3); __ mr(r4, r3);
__ li(r3, Operand(1)); __ li(r3, Operand(1));
__ b(&C); __ b(&C);
...@@ -176,8 +170,6 @@ TEST(3) { ...@@ -176,8 +170,6 @@ TEST(3) {
Assembler assm(AssemblerOptions{}); Assembler assm(AssemblerOptions{});
__ function_descriptor();
// build a frame // build a frame
#if V8_TARGET_ARCH_PPC64 #if V8_TARGET_ARCH_PPC64
__ stdu(sp, MemOperand(sp, -32)); __ stdu(sp, MemOperand(sp, -32));
......
...@@ -52,7 +52,6 @@ static void FloodWithInc(Isolate* isolate, TestingAssemblerBuffer* buffer) { ...@@ -52,7 +52,6 @@ static void FloodWithInc(Isolate* isolate, TestingAssemblerBuffer* buffer) {
__ Addu(v0, v0, Operand(1)); __ Addu(v0, v0, Operand(1));
} }
#elif V8_TARGET_ARCH_PPC #elif V8_TARGET_ARCH_PPC
__ function_descriptor();
for (int i = 0; i < kNumInstr; ++i) { for (int i = 0; i < kNumInstr; ++i) {
__ addi(r3, r3, Operand(1)); __ addi(r3, r3, Operand(1));
} }
...@@ -78,8 +77,6 @@ static void FloodWithNop(Isolate* isolate, TestingAssemblerBuffer* buffer) { ...@@ -78,8 +77,6 @@ static void FloodWithNop(Isolate* isolate, TestingAssemblerBuffer* buffer) {
__ mov(v0, a0); __ mov(v0, a0);
#elif V8_TARGET_ARCH_MIPS64 #elif V8_TARGET_ARCH_MIPS64
__ mov(v0, a0); __ mov(v0, a0);
#elif V8_TARGET_ARCH_PPC
__ function_descriptor();
#endif #endif
for (int i = 0; i < kNumInstr; ++i) { for (int i = 0; i < kNumInstr; ++i) {
__ nop(); __ nop();
......
...@@ -24,8 +24,6 @@ TEST_F(TurboAssemblerTest, TestHardAbort) { ...@@ -24,8 +24,6 @@ TEST_F(TurboAssemblerTest, TestHardAbort) {
auto buffer = AllocateAssemblerBuffer(); auto buffer = AllocateAssemblerBuffer();
TurboAssembler tasm(nullptr, AssemblerOptions{}, CodeObjectRequired::kNo, TurboAssembler tasm(nullptr, AssemblerOptions{}, CodeObjectRequired::kNo,
buffer->CreateView()); buffer->CreateView());
// Called from C
__ function_descriptor();
__ set_abort_hard(true); __ set_abort_hard(true);
...@@ -44,8 +42,6 @@ TEST_F(TurboAssemblerTest, TestCheck) { ...@@ -44,8 +42,6 @@ TEST_F(TurboAssemblerTest, TestCheck) {
auto buffer = AllocateAssemblerBuffer(); auto buffer = AllocateAssemblerBuffer();
TurboAssembler tasm(nullptr, AssemblerOptions{}, CodeObjectRequired::kNo, TurboAssembler tasm(nullptr, AssemblerOptions{}, CodeObjectRequired::kNo,
buffer->CreateView()); buffer->CreateView());
// Called from C
__ function_descriptor();
__ set_abort_hard(true); __ set_abort_hard(true);
......
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