Commit 578d4a8f authored by lybvinci's avatar lybvinci Committed by Commit Bot

Fix compile cctest error

When is_component_build is true, cctest will compile error, because
the dependencies is not exported.these files will failed:test-utils
-arm64.cc,test-strings.cc.

Change-Id: I4bcdde08199f21454ec6d7e230d9d096c0315eac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1873447Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64448}
parent a0e5b02d
...@@ -200,3 +200,4 @@ Yu Yin <xwafish@gmail.com> ...@@ -200,3 +200,4 @@ Yu Yin <xwafish@gmail.com>
Zac Hansen <xaxxon@gmail.com> Zac Hansen <xaxxon@gmail.com>
Zhongping Wang <kewpie.w.zp@gmail.com> Zhongping Wang <kewpie.w.zp@gmail.com>
柳荣一 <admin@web-tinker.com> 柳荣一 <admin@web-tinker.com>
Yanbo Li <lybvinci@gmail.com>
...@@ -525,13 +525,11 @@ ALIAS_REGISTER(VRegister, fp_scratch2, d31); ...@@ -525,13 +525,11 @@ ALIAS_REGISTER(VRegister, fp_scratch2, d31);
// AreAliased returns true if any of the named registers overlap. Arguments set // AreAliased returns true if any of the named registers overlap. Arguments set
// to NoReg are ignored. The system stack pointer may be specified. // to NoReg are ignored. The system stack pointer may be specified.
bool AreAliased(const CPURegister& reg1, const CPURegister& reg2, V8_EXPORT_PRIVATE bool AreAliased(
const CPURegister& reg3 = NoReg, const CPURegister& reg1, const CPURegister& reg2,
const CPURegister& reg4 = NoReg, const CPURegister& reg3 = NoReg, const CPURegister& reg4 = NoReg,
const CPURegister& reg5 = NoReg, const CPURegister& reg5 = NoReg, const CPURegister& reg6 = NoReg,
const CPURegister& reg6 = NoReg, const CPURegister& reg7 = NoReg, const CPURegister& reg8 = NoReg);
const CPURegister& reg7 = NoReg,
const CPURegister& reg8 = NoReg);
// AreSameSizeAndType returns true if all of the specified registers have the // AreSameSizeAndType returns true if all of the specified registers have the
// same size, and are of the same type. The system stack pointer may be // same size, and are of the same type. The system stack pointer may be
......
...@@ -228,12 +228,12 @@ V8_INLINE bool IsStringLiteralLineTerminator(uchar c) { ...@@ -228,12 +228,12 @@ V8_INLINE bool IsStringLiteralLineTerminator(uchar c) {
} }
#ifndef V8_INTL_SUPPORT #ifndef V8_INTL_SUPPORT
struct ToLowercase { struct V8_EXPORT_PRIVATE ToLowercase {
static const int kMaxWidth = 3; static const int kMaxWidth = 3;
static const bool kIsToLower = true; static const bool kIsToLower = true;
static int Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr); static int Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr);
}; };
struct ToUppercase { struct V8_EXPORT_PRIVATE ToUppercase {
static const int kMaxWidth = 3; static const int kMaxWidth = 3;
static const bool kIsToLower = false; static const bool kIsToLower = false;
static int Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr); static int Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr);
......
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