Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 8caf9c2a29ec4cc4b1bf33b3eaacd06ecbf5501a..16fff45b0d2997858cb54a17512e272fd1bce0c1 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1004,7 +1004,7 @@ uint32_t Literal::Hash() { |
bool Literal::Match(void* literal1, void* literal2) { |
const AstValue* x = static_cast<Literal*>(literal1)->raw_value(); |
const AstValue* y = static_cast<Literal*>(literal2)->raw_value(); |
- return (x->IsString() && y->IsString() && *x->AsString() == *y->AsString()) || |
+ return (x->IsString() && y->IsString() && x->AsString() == y->AsString()) || |
(x->IsNumber() && y->IsNumber() && x->AsNumber() == y->AsNumber()); |
} |