• mbrandy's avatar
    PPC: [runtime] Fix ES6 9.2.1 [[Call]] when encountering a classConstructor. · 6413ef4e
    mbrandy authored
    Port ab840259
    
    Also:
    - Fix big-endian compiler hints BYTE_OFFSET macro.
    - Clean up PPC code access to compiler hints -- which required some new
      SharedFunctionInfo fields to encapsulate kCompilerHintsSmiTagSize.
    
    Original commit message:
        The current implementation of classes throws the TypeError at the wrong
        point, after activating a new context when directly calling a class
        constructor. According to the spec, the TypeError has to be thrown
        in the caller context.
    
    R=bmeurer@chromium.org, cbruni@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
    LOG=N
    BUG=v8:4428
    
    Review URL: https://codereview.chromium.org/1423713014
    
    Cr-Commit-Position: refs/heads/master@{#31831}
    6413ef4e
code-stubs-ppc.cc 203 KB