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

Unified Diff: src/mips64/assembler-mips64.h

Issue 1025453003: MIPS: Fix 'MIPS: Serializer: serialize internal references via object visitor.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix nits. Created 5 years, 9 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
Index: src/mips64/assembler-mips64.h
diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h
index f643322ddc62137a026b123dbfe545ad93f305ab..d0b11452baa6f1908a75e19ce4f8d7dadcfd9329 100644
--- a/src/mips64/assembler-mips64.h
+++ b/src/mips64/assembler-mips64.h
@@ -544,6 +544,10 @@ class Assembler : public AssemblerBase {
inline static void deserialization_set_target_internal_reference_at(
Address pc, Address target);
+ // This sets the encoded internal reference at the pc.
+ inline static void deserialization_set_target_internal_reference_encoded_at(
+ Address pc, Address target);
+
// Size of an instruction.
static const int kInstrSize = sizeof(Instr);
@@ -1172,6 +1176,9 @@ class Assembler : public AssemblerBase {
// the relocation info.
TypeFeedbackId recorded_ast_id_;
+ inline static void set_target_internal_reference_encoded_at(Address pc,
+ Address target);
+
int64_t buffer_space() const { return reloc_info_writer.pos() - pc_; }
// Decode branch instruction at pos and return branch target pos.

Powered by Google App Engine
This is Rietveld 408576698