1. 07 May, 2015 3 commits
  2. 06 May, 2015 34 commits
  3. 05 May, 2015 3 commits
    • dpranke's avatar
      Adjust the visibility of the standalone targets in the GN build. · 978acb8d
      dpranke authored
      As part of the migration from GYP->GN, we want to make sure that we
      can track when new targets are added to either the GYP or GN builds
      and that we are building everything we expect to build.
      
      In GN, unlike GYP, if a build file gets referenced from other files,
      building 'all' will cause every target to be built in it. This means in
      particular, that we can end up trying to build targets that are not
      necessarily intended to be visible to the rest of the build. To get
      around this, any target that is defined but hidden (like 'v8_snapshot',
      in V8's case) should still be visible to a top-level target called
      "//:gn_visibility".
      
      R=brettw@chromium.org, machenbach@chromium.org
      BUG=461019
      LOG=N
      
      Review URL: https://codereview.chromium.org/1120093005
      
      Cr-Commit-Position: refs/heads/master@{#28243}
      978acb8d
    • dslomov's avatar
      Handle the case when derived constructor is [[Call]]ed with 0 args. · cf53fed9
      dslomov authored
      ArgumentsAdaptorStub for derived constructor (the one that needs
      new.target) works in this way:
       - If the constructor is invoked via the Construct stub, we know that
         actual arguments always include new.target. ``arguments`` object
         however should not include a new.target, therefore we remove it.
         We achieve this by decrementing the argument count.
       - If the constructor is invoked as a call, we do not care for a correct
         ``arguments`` array since the constructor will immediately throw on
         entrance.
      The bug is that the call could actually pass 0 actual arguments, but I
      decrement unconditionally :(. The fix is to detect this case and avoid
      decrementing. ``arguments`` is bogus, but it is ok as constructor
      throws.
      
      Long-term we should just remove mucking about with arguments for
      new.target and just get it from the stack.
      
      R=arv@chromium.org,rossberg@chromium.org
      BUG=chromium:474783
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1126783003
      
      Cr-Commit-Position: refs/heads/master@{#28242}
      cf53fed9
    • dusan.milosavljevic's avatar
      MIPS: Fix long branch mode and FPU branches. · c37f439b
      dusan.milosavljevic authored
      - Add long branche mode for FPU branches.
      - Fix FPU branches for unordered conditions.
      - Provide FPU [un]ordered condition negation schema.
      
      TEST=mjsunit/miror-objects, constant-folding-2, external-array
      BUG=
      
      Review URL: https://codereview.chromium.org/1120753010
      
      Cr-Commit-Position: refs/heads/master@{#28241}
      c37f439b