Skip to content

Commit b0a2a56

Browse files
richard-townsend-armCommit Bot
authored andcommitted
fix: remove some unnecessary V8_EXPORT_PRIVATE annotations
When building in debug mode for Windows on Arm, Clang reports the following error without this patch: error: attribute 'dllexport' cannot be applied to member of 'dllexport' class. Change-Id: Ib3b12fce7daa368f9464b080ac7a7bce1ddd5370 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1611799 Reviewed-by: Sigurd Schneider <[email protected]> Commit-Queue: Richard Townsend <[email protected]> Cr-Commit-Position: refs/heads/master@{#61493}
1 parent 7cba46a commit b0a2a56

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/arm64/decoder-arm64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class V8_EXPORT_PRIVATE DispatchingDecoderVisitor : public DecoderVisitor {
120120
//
121121
// will call in order visitor methods in V3, V2, V1, V4.
122122
void AppendVisitor(DecoderVisitor* visitor);
123-
V8_EXPORT_PRIVATE void PrependVisitor(DecoderVisitor* visitor);
123+
void PrependVisitor(DecoderVisitor* visitor);
124124
void InsertVisitorBefore(DecoderVisitor* new_visitor,
125125
DecoderVisitor* registered_visitor);
126126
void InsertVisitorAfter(DecoderVisitor* new_visitor,

src/arm64/macro-assembler-arm64.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,7 +2093,7 @@ class V8_EXPORT_PRIVATE UseScratchRegisterScope {
20932093
DCHECK_EQ(availablefp_->type(), CPURegister::kVRegister);
20942094
}
20952095

2096-
V8_EXPORT_PRIVATE ~UseScratchRegisterScope();
2096+
~UseScratchRegisterScope();
20972097

20982098
// Take a register from the appropriate temps list. It will be returned
20992099
// automatically when the scope ends.
@@ -2110,7 +2110,7 @@ class V8_EXPORT_PRIVATE UseScratchRegisterScope {
21102110
VRegister AcquireSameSizeAs(const VRegister& reg);
21112111

21122112
private:
2113-
V8_EXPORT_PRIVATE static CPURegister AcquireNextAvailable(
2113+
static CPURegister AcquireNextAvailable(
21142114
CPURegList* available);
21152115

21162116
// Available scratch registers.

0 commit comments

Comments
 (0)