Index: src/runtime/runtime-strings.cc |
diff --git a/src/runtime/runtime-strings.cc b/src/runtime/runtime-strings.cc |
index 6f21051891f665f34d05b67ea625fca299106a8c..e2c05c1d5ab6853bf7c8ea860ad2fc3eb3044f17 100644 |
--- a/src/runtime/runtime-strings.cc |
+++ b/src/runtime/runtime-strings.cc |
@@ -31,20 +31,13 @@ |
: match_(match), prefix_(prefix), suffix_(suffix) {} |
Handle<String> GetMatch() override { return match_; } |
- Handle<String> GetPrefix() override { return prefix_; } |
- Handle<String> GetSuffix() override { return suffix_; } |
- |
- int CaptureCount() override { return 0; } |
- bool HasNamedCaptures() override { return false; } |
MaybeHandle<String> GetCapture(int i, bool* capture_exists) override { |
*capture_exists = false; |
return match_; // Return arbitrary string handle. |
} |
- MaybeHandle<String> GetNamedCapture(Handle<String> name, |
- bool* capture_exists) override { |
- UNREACHABLE(); |
- return MaybeHandle<String>(); |
- } |
+ Handle<String> GetPrefix() override { return prefix_; } |
+ Handle<String> GetSuffix() override { return suffix_; } |
+ int CaptureCount() override { return 0; } |
private: |
Handle<String> match_, prefix_, suffix_; |