| Index: src/ast-value-factory.h
|
| diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h
|
| index 7b82e4a13e4080a73dc01036181153f9e5599f55..a189f173b56fa2e2bf0b0a412e301441e1348721 100644
|
| --- a/src/ast-value-factory.h
|
| +++ b/src/ast-value-factory.h
|
| @@ -64,13 +64,13 @@ class AstString : public ZoneObject {
|
|
|
| class AstRawString : public AstString {
|
| public:
|
| - virtual int length() const OVERRIDE {
|
| + int length() const OVERRIDE {
|
| if (is_one_byte_)
|
| return literal_bytes_.length();
|
| return literal_bytes_.length() / 2;
|
| }
|
|
|
| - virtual void Internalize(Isolate* isolate) OVERRIDE;
|
| + void Internalize(Isolate* isolate) OVERRIDE;
|
|
|
| bool AsArrayIndex(uint32_t* index) const;
|
|
|
| @@ -124,11 +124,9 @@ class AstConsString : public AstString {
|
| : left_(left),
|
| right_(right) {}
|
|
|
| - virtual int length() const OVERRIDE {
|
| - return left_->length() + right_->length();
|
| - }
|
| + int length() const OVERRIDE { return left_->length() + right_->length(); }
|
|
|
| - virtual void Internalize(Isolate* isolate) OVERRIDE;
|
| + void Internalize(Isolate* isolate) OVERRIDE;
|
|
|
| private:
|
| friend class AstValueFactory;
|
|
|