Commit 863e2085 authored by Milad Farazmand's avatar Milad Farazmand Committed by Commit Bot

PPC/s390: s390: [cleanup] Avoid {Object::operator->}

Port 157b9181

Original Commit Message:

    Port 878ccb33

    Original Commit Message:

        This CL was generated by an automatic clang AST rewriter using this
        matcher expression:

          callExpr(
            callee(
              cxxMethodDecl(
                hasName("operator->"),
                ofClass(isSameOrDerivedFrom("v8::internal::Object"))
              )
            ),
            argumentCountIs(1)
          )

        The "->" at the expression location was then rewritten to ".".

R=miladfar@ca.ibm.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=
LOG=N

Change-Id: I620c2104b649a75a01fd7a92dacadd652b23be7e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1634931Reviewed-by: 's avatarMilad Farazmand <miladfar@ca.ibm.com>
Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#61921}
parent f72c844a
......@@ -342,7 +342,7 @@ void PPCDebugger::Debug() {
Object obj(value);
os << arg1 << ": \n";
#ifdef DEBUG
obj->Print(os);
obj.Print(os);
os << "\n";
#else
os << Brief(obj) << "\n";
......
......@@ -372,7 +372,7 @@ void S390Debugger::Debug() {
Object obj(value);
os << arg1 << ": \n";
#ifdef DEBUG
obj->Print(os);
obj.Print(os);
os << "\n";
#else
os << Brief(obj) << "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment