Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index 78cc88e82dca4761203d0e2a78abc1f76a317a17..d0193520fae9a5e225ff7d1379b4fcf61653df08 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -445,7 +445,21 @@ static bool NotDigit(uc16 c) { |
static bool IsWhiteSpace(uc16 c) { |
- return v8::internal::WhiteSpace::Is(c); |
+ switch (c) { |
+ case 0x09: |
+ case 0x0A: |
+ case 0x0B: |
+ case 0x0C: |
+ case 0x0d: |
+ case 0x20: |
+ case 0xA0: |
+ case 0x2028: |
+ case 0x2029: |
+ case 0xFEFF: |
+ return true; |
+ default: |
+ return unibrow::Space::Is(c); |
+ } |
} |