Index: src/ast-value-factory.cc |
diff --git a/src/ast-value-factory.cc b/src/ast-value-factory.cc |
index 5ab2544ab26a5106e1ccc473e59d98d10d2de45d..ff2010007f9bc3f4d33e9c6d5656f04da7bae20c 100644 |
--- a/src/ast-value-factory.cc |
+++ b/src/ast-value-factory.cc |
@@ -56,22 +56,20 @@ class AstRawStringInternalizationKey : public HashTableKey { |
explicit AstRawStringInternalizationKey(const AstRawString* string) |
: string_(string) {} |
- virtual bool IsMatch(Object* other) OVERRIDE { |
+ bool IsMatch(Object* other) OVERRIDE { |
if (string_->is_one_byte_) |
return String::cast(other)->IsOneByteEqualTo(string_->literal_bytes_); |
return String::cast(other)->IsTwoByteEqualTo( |
Vector<const uint16_t>::cast(string_->literal_bytes_)); |
} |
- virtual uint32_t Hash() OVERRIDE { |
- return string_->hash() >> Name::kHashShift; |
- } |
+ uint32_t Hash() OVERRIDE { return string_->hash() >> Name::kHashShift; } |
- virtual uint32_t HashForObject(Object* key) OVERRIDE { |
+ uint32_t HashForObject(Object* key) OVERRIDE { |
return String::cast(key)->Hash(); |
} |
- virtual Handle<Object> AsHandle(Isolate* isolate) OVERRIDE { |
+ Handle<Object> AsHandle(Isolate* isolate) OVERRIDE { |
if (string_->is_one_byte_) |
return isolate->factory()->NewOneByteInternalizedString( |
string_->literal_bytes_, string_->hash()); |