[turbofan] Fix printing of FieldAccess.
Avoid the stupid newline when the name is a String, which is automatically appended by the Object::Print() method. Just use the Name::NamePrint() method instead. Bug: v8:5267 Change-Id: I12ec878325b6f6ecdd8633a5ac8129b2398ddf9a Reviewed-on: https://chromium-review.googlesource.com/778823 Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#49486}
This commit is contained in:
parent
b6658adee0
commit
842303a637
@ -54,7 +54,7 @@ std::ostream& operator<<(std::ostream& os, FieldAccess const& access) {
|
||||
#ifdef OBJECT_PRINT
|
||||
Handle<Name> name;
|
||||
if (access.name.ToHandle(&name)) {
|
||||
name->Print(os);
|
||||
name->NamePrint(os);
|
||||
os << ", ";
|
||||
}
|
||||
Handle<Map> map;
|
||||
|
Loading…
Reference in New Issue
Block a user