[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/+/3098826 Reviewed-by: Ji Qiu <qiuji@iscas.ac.cn> Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn> Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn> Cr-Commit-Position: refs/heads/master@{#76331}
This commit is contained in:
parent
f24d77455e
commit
c15962741d
@ -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)); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user