Commit 46ca7ce1 authored by Liu Yu's avatar Liu Yu Committed by V8 LUCI CQ

[mips] Fix mips build

Change-Id: Ib93296a5d79b0e02eb3c283d8a605c9ab4e8c38a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2993879Reviewed-by: 's avatarZhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Auto-Submit: Liu yu <liuyu@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#75430}
parent 0c004044
......@@ -3570,7 +3570,8 @@ void Assembler::GrowBuffer() {
reloc_info_writer.last_pc() + pc_delta);
// Relocate runtime entries.
base::Vector<byte> instructions{buffer_start_, pc_offset()};
base::Vector<byte> instructions{buffer_start_,
static_cast<size_t>(pc_offset())};
base::Vector<const byte> reloc_info{reloc_info_writer.pos(), reloc_size};
for (RelocIterator it(instructions, reloc_info, 0); !it.done(); it.next()) {
RelocInfo::Mode rmode = it.rinfo()->rmode();
......
......@@ -3769,7 +3769,8 @@ void Assembler::GrowBuffer() {
reloc_info_writer.last_pc() + pc_delta);
// Relocate runtime entries.
base::Vector<byte> instructions{buffer_start_, pc_offset()};
base::Vector<byte> instructions{buffer_start_,
static_cast<size_t>(pc_offset())};
base::Vector<const byte> reloc_info{reloc_info_writer.pos(), reloc_size};
for (RelocIterator it(instructions, reloc_info, 0); !it.done(); it.next()) {
RelocInfo::Mode rmode = it.rinfo()->rmode();
......
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