Remove unused RelocInfoWriter::WriteData
Change-Id: I7996f49f5358d8be684a39b64020bc6bef82b7bb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3739228 Commit-Queue: Shu-yu Guo <syg@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/main@{#81560}
This commit is contained in:
parent
725c163d8e
commit
9e1f89c0f9
@ -123,14 +123,6 @@ void RelocInfoWriter::WriteIntData(int number) {
|
||||
}
|
||||
}
|
||||
|
||||
void RelocInfoWriter::WriteData(intptr_t data_delta) {
|
||||
for (int i = 0; i < kIntptrSize; i++) {
|
||||
*--pos_ = static_cast<byte>(data_delta);
|
||||
// Signed right shift is arithmetic shift. Tested in test-utils.cc.
|
||||
data_delta = data_delta >> kBitsPerByte;
|
||||
}
|
||||
}
|
||||
|
||||
void RelocInfoWriter::Write(const RelocInfo* rinfo) {
|
||||
RelocInfo::Mode rmode = rinfo->rmode();
|
||||
#ifdef DEBUG
|
||||
|
@ -414,7 +414,6 @@ class RelocInfoWriter {
|
||||
inline void WriteMode(RelocInfo::Mode rmode);
|
||||
inline void WriteModeAndPC(uint32_t pc_delta, RelocInfo::Mode rmode);
|
||||
inline void WriteIntData(int data_delta);
|
||||
inline void WriteData(intptr_t data_delta);
|
||||
|
||||
byte* pos_;
|
||||
byte* last_pc_;
|
||||
|
Loading…
Reference in New Issue
Block a user