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

Unified Diff: src/s390/assembler-s390.cc

Issue 2949103005: PPC/s390: Remove TypeFeedbackId parameters from assembler and full-code. (Closed)
Patch Set: 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/s390/assembler-s390.h ('k') | src/s390/assembler-s390-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/s390/assembler-s390.cc
diff --git a/src/s390/assembler-s390.cc b/src/s390/assembler-s390.cc
index 9dc15e56b246d8c7973a3fd23d49f365b9fa2a8c..3737df098cd3343df4e41ee7dfed13c3d649c350 100644
--- a/src/s390/assembler-s390.cc
+++ b/src/s390/assembler-s390.cc
@@ -339,12 +339,10 @@ MemOperand::MemOperand(Register rx, Register rb, int32_t offset) {
Assembler::Assembler(IsolateData isolate_data, void* buffer, int buffer_size)
: AssemblerBase(isolate_data, buffer, buffer_size),
- recorded_ast_id_(TypeFeedbackId::None()),
code_targets_(100) {
reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_);
last_bound_pos_ = 0;
- ClearRecordedAstId();
relocations_.reserve(128);
}
@@ -1815,11 +1813,10 @@ void Assembler::srdl(Register r1, const Operand& opnd) {
rs_form(SRDL, r1, r0, r0, opnd.immediate());
}
-void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode,
- TypeFeedbackId ast_id) {
+void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode) {
EnsureSpace ensure_space(this);
- int32_t target_index = emit_code_target(target, rmode, ast_id);
+ int32_t target_index = emit_code_target(target, rmode);
brasl(r14, Operand(target_index));
}
@@ -2169,10 +2166,6 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
!emit_debug_code())) {
return;
}
- if (rmode == RelocInfo::CODE_TARGET_WITH_ID) {
- data = RecordedAstId().ToInt();
- ClearRecordedAstId();
- }
DeferredRelocInfo rinfo(pc_offset(), rmode, data);
relocations_.push_back(rinfo);
}
« no previous file with comments | « src/s390/assembler-s390.h ('k') | src/s390/assembler-s390-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698