Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: src/arm/macro-assembler-arm.cc

Issue 2944013002: Remove TypeFeedbackId parameters from assembler and full-code. (Closed)
Patch Set: REBASE+fixes. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | src/arm64/assembler-arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/macro-assembler-arm.cc
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
index b6b2cb26a420b5c690b010d221c2be6c262ef7d6..6dcce75c8018df49ae8e808458eabd43b8fcc0db 100644
--- a/src/arm/macro-assembler-arm.cc
+++ b/src/arm/macro-assembler-arm.cc
@@ -91,10 +91,8 @@ int MacroAssembler::CallSize(
mov_operand.InstructionsRequired(this, mov_instr) * kInstrSize;
}
-
-int MacroAssembler::CallStubSize(
- CodeStub* stub, TypeFeedbackId ast_id, Condition cond) {
- return CallSize(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id, cond);
+int MacroAssembler::CallStubSize(CodeStub* stub, Condition cond) {
+ return CallSize(stub->GetCode(), RelocInfo::CODE_TARGET, cond);
}
void MacroAssembler::Call(Address target, RelocInfo::Mode rmode, Condition cond,
@@ -141,23 +139,17 @@ void MacroAssembler::Call(Address target, RelocInfo::Mode rmode, Condition cond,
int MacroAssembler::CallSize(Handle<Code> code,
RelocInfo::Mode rmode,
- TypeFeedbackId ast_id,
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,
- TargetAddressStorageMode mode,
+ Condition cond, TargetAddressStorageMode mode,
bool check_constant_pool) {
Label start;
bind(&start);
DCHECK(RelocInfo::IsCodeTarget(rmode));
- if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) {
- SetRecordedAstId(ast_id);
- rmode = RelocInfo::CODE_TARGET_WITH_ID;
- }
// 'code' is always generated ARM code, never THUMB code
AllowDeferredHandleDereference embedding_raw_address;
Call(reinterpret_cast<Address>(code.location()), rmode, cond, mode);
@@ -2317,11 +2309,10 @@ void MacroAssembler::GetMapConstructor(Register result, Register map,
}
void MacroAssembler::CallStub(CodeStub* stub,
- TypeFeedbackId ast_id,
Condition cond) {
DCHECK(AllowThisStubCall(stub)); // Stub calls are not allowed in some stubs.
- Call(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id, cond,
- CAN_INLINE_TARGET_ADDRESS, false);
+ Call(stub->GetCode(), RelocInfo::CODE_TARGET, cond, CAN_INLINE_TARGET_ADDRESS,
+ false);
}
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | src/arm64/assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698