Commit c1596274 authored by Yu Yin's avatar Yu Yin Committed by V8 LUCI CQ

[mips64][riscv64] Export get_pc and get_register

Fix build failed with:
is_component_build = true
use_goma = true

Change-Id: Ia06175c091e94e36aa71c134b056b4d6b88e5c96
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3098826Reviewed-by: 's avatarJi Qiu <qiuji@iscas.ac.cn>
Reviewed-by: 's avatarZhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#76331}
parent f24d7745
......@@ -243,7 +243,7 @@ class Simulator : public SimulatorBase {
void set_register(int reg, int64_t value);
void set_register_word(int reg, int32_t value);
void set_dw_register(int dreg, const int* dbl);
int64_t get_register(int reg) const;
V8_EXPORT_PRIVATE int64_t get_register(int reg) const;
double get_double_from_register_pair(int reg);
// Same for FPURegisters.
void set_fpu_register(int fpureg, int64_t value);
......@@ -291,7 +291,7 @@ class Simulator : public SimulatorBase {
unsigned int get_msacsr_rounding_mode();
// Special case of set_register and get_register to access the raw PC value.
void set_pc(int64_t value);
int64_t get_pc() const;
V8_EXPORT_PRIVATE int64_t get_pc() const;
Address get_sp() const { return static_cast<Address>(get_register(sp)); }
......
......@@ -312,7 +312,7 @@ class Simulator : public SimulatorBase {
void set_register(int reg, int64_t value);
void set_register_word(int reg, int32_t value);
void set_dw_register(int dreg, const int* dbl);
int64_t get_register(int reg) const;
V8_EXPORT_PRIVATE int64_t get_register(int reg) const;
double get_double_from_register_pair(int reg);
// Same for FPURegisters.
......@@ -354,7 +354,7 @@ class Simulator : public SimulatorBase {
// Special case of set_register and get_register to access the raw PC value.
void set_pc(int64_t value);
int64_t get_pc() const;
V8_EXPORT_PRIVATE int64_t get_pc() const;
Address get_sp() const { return static_cast<Address>(get_register(sp)); }
......
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