Commit e0b3fbee authored by Mu Tao's avatar Mu Tao Committed by Commit Bot

[mips][codegen] Change two class's visibility to make cctest build pass

Building cctest has linking error when gn's args has "is_component_build = true".
This CL make the visibility of "MemOperand" and "UseScratchRegisterScope" from
"hidden" to "default" to solve this problem.

Change-Id: I3ebfaa25d598b4f2d626861b947c93d111d95456
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1731213
Auto-Submit: Mu Tao <pamilty@gmail.com>
Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63062}
parent 4919e5dc
...@@ -122,7 +122,7 @@ class Operand { ...@@ -122,7 +122,7 @@ class Operand {
// On MIPS we have only one addressing mode with base_reg + offset. // On MIPS we have only one addressing mode with base_reg + offset.
// Class MemOperand represents a memory operand in load and store instructions. // Class MemOperand represents a memory operand in load and store instructions.
class MemOperand : public Operand { class V8_EXPORT_PRIVATE MemOperand : public Operand {
public: public:
// Immediate value attached to offset. // Immediate value attached to offset.
enum OffsetAddend { offset_minus_one = -1, offset_zero = 0 }; enum OffsetAddend { offset_minus_one = -1, offset_zero = 0 };
...@@ -1872,7 +1872,7 @@ class EnsureSpace { ...@@ -1872,7 +1872,7 @@ class EnsureSpace {
explicit inline EnsureSpace(Assembler* assembler); explicit inline EnsureSpace(Assembler* assembler);
}; };
class UseScratchRegisterScope { class V8_EXPORT_PRIVATE UseScratchRegisterScope {
public: public:
explicit UseScratchRegisterScope(Assembler* assembler); explicit UseScratchRegisterScope(Assembler* assembler);
~UseScratchRegisterScope(); ~UseScratchRegisterScope();
......
...@@ -121,7 +121,7 @@ class Operand { ...@@ -121,7 +121,7 @@ class Operand {
// On MIPS we have only one addressing mode with base_reg + offset. // On MIPS we have only one addressing mode with base_reg + offset.
// Class MemOperand represents a memory operand in load and store instructions. // Class MemOperand represents a memory operand in load and store instructions.
class MemOperand : public Operand { class V8_EXPORT_PRIVATE MemOperand : public Operand {
public: public:
// Immediate value attached to offset. // Immediate value attached to offset.
enum OffsetAddend { offset_minus_one = -1, offset_zero = 0 }; enum OffsetAddend { offset_minus_one = -1, offset_zero = 0 };
...@@ -1899,7 +1899,7 @@ class EnsureSpace { ...@@ -1899,7 +1899,7 @@ class EnsureSpace {
explicit inline EnsureSpace(Assembler* assembler); explicit inline EnsureSpace(Assembler* assembler);
}; };
class UseScratchRegisterScope { class V8_EXPORT_PRIVATE UseScratchRegisterScope {
public: public:
explicit UseScratchRegisterScope(Assembler* assembler); explicit UseScratchRegisterScope(Assembler* assembler);
~UseScratchRegisterScope(); ~UseScratchRegisterScope();
......
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