DescriptionRemove comparison operator and helper function from AstRawString interface
These comparisons are only meant to be done by AstValueFactory itself (in
its string_table_ operations), so make the Compare() function a private
member of AstValueFactory.
All other clients of AstRawStrings should compare them by pointer value.
There were only two clients which failed to abide by this rule, one
recently-added (in ModuleDescriptor) and the other in Literal::Match
(in ast.cc, added in https://code.google.com/p/v8/source/detail?r=24396).
Committed: https://crrev.com/9b09a28d5c62a5d869f64b1d73ccece6bcdfa773
Cr-Commit-Position: refs/heads/master@{#27715}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|