Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 486db60a77ff21efb581c84135a1333baa0ff18d..ed3a8b6ee34eb72a14975eb6dc6e22d5099ad39f 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1394,7 +1394,7 @@ class Literal V8_FINAL : public Expression { |
static bool Match(void* literal1, void* literal2) { |
Handle<String> s1 = static_cast<Literal*>(literal1)->ToString(); |
Handle<String> s2 = static_cast<Literal*>(literal2)->ToString(); |
- return s1->Equals(*s2); |
+ return String::Equals(s1, s2); |
} |
TypeFeedbackId LiteralFeedbackId() const { return reuse(id()); } |