Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index d0193520fae9a5e225ff7d1379b4fcf61653df08..78cc88e82dca4761203d0e2a78abc1f76a317a17 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -445,21 +445,7 @@ static bool NotDigit(uc16 c) { |
static bool IsWhiteSpace(uc16 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); |
- } |
+ return v8::internal::WhiteSpace::Is(c); |
} |