| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 1d4025f26b8a69d2011617322200c6cb8044ded6..97eaf758cc272ba05735e983eb86fe4cdca4cdb0 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -140,29 +140,25 @@ void MacroAssembler::Call(Address target, RelocInfo::Mode rmode,
|
|
|
|
|
| int MacroAssembler::CallSize(Handle<Code> code, RelocInfo::Mode rmode,
|
| - TypeFeedbackId ast_id, Condition cond) {
|
| + Condition cond) {
|
| AllowDeferredHandleDereference using_raw_address;
|
| return CallSize(reinterpret_cast<Address>(code.location()), rmode, cond);
|
| }
|
|
|
|
|
| void MacroAssembler::Call(Handle<Code> code, RelocInfo::Mode rmode,
|
| - TypeFeedbackId ast_id, Condition cond) {
|
| + Condition cond) {
|
| BlockTrampolinePoolScope block_trampoline_pool(this);
|
| DCHECK(RelocInfo::IsCodeTarget(rmode));
|
|
|
| #ifdef DEBUG
|
| // Check the expected size before generating code to ensure we assume the same
|
| // constant pool availability (e.g., whether constant pool is full or not).
|
| - int expected_size = CallSize(code, rmode, ast_id, cond);
|
| + int expected_size = CallSize(code, rmode, cond);
|
| Label start;
|
| bind(&start);
|
| #endif
|
|
|
| - if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) {
|
| - SetRecordedAstId(ast_id);
|
| - rmode = RelocInfo::CODE_TARGET_WITH_ID;
|
| - }
|
| AllowDeferredHandleDereference using_raw_address;
|
| Call(reinterpret_cast<Address>(code.location()), rmode, cond);
|
| DCHECK_EQ(expected_size, SizeOfCodeGeneratedSince(&start));
|
| @@ -2105,10 +2101,9 @@ void MacroAssembler::GetMapConstructor(Register result, Register map,
|
| bind(&done);
|
| }
|
|
|
| -void MacroAssembler::CallStub(CodeStub* stub, TypeFeedbackId ast_id,
|
| - Condition cond) {
|
| +void MacroAssembler::CallStub(CodeStub* stub, Condition cond) {
|
| DCHECK(AllowThisStubCall(stub)); // Stub calls are not allowed in some stubs.
|
| - Call(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id, cond);
|
| + Call(stub->GetCode(), RelocInfo::CODE_TARGET, cond);
|
| }
|
|
|
|
|
|
|