1. 23 Sep, 2016 1 commit
    • neis's avatar
      [modules] Do basic linking. · d7858e35
      neis authored
      Resolve imports and indirect exports at instantiation time.
      
      With this CL we have some basic functionality for modules working.  Not yet
      supported: star exports, namespace imports, cycle detection, proper variable
      initialisation in mutually recursive modules.
      
      BUG=v8:1569
      
      Review-Url: https://codereview.chromium.org/2362083002
      Cr-Commit-Position: refs/heads/master@{#39689}
      d7858e35
  2. 04 Apr, 2016 1 commit
    • neis's avatar
      Preserve exception message in iterator finalization. · f70b3d3b
      neis authored
      The parser uses a try-catch in order to record when the client of an iterator
      throws.  The exception then used to get rethrown via 'throw', which
      unfortunately resulted in the original exception message object getting
      overwritten.
      
      This CL solves this as follows:
      - add a clear_pending_message flag to TryCatchStatement (set to true in normal
        cases),
      - set clear_pending_message to false for the TryCatchStatement used in iterator
        finalization
      - change full-codegen, turbofan, and the interpreter to emit the ClearPendingMessage call
        only when the flag is set,
      - replace 'throw' with '%ReThrow' in the iterator finalization code, thus
        reusing the (not-cleared) pending message
      
      R=littledan@chromium.org, mstarzinger@chromium.org, yangguo@chromium.org
      BUG=v8:4875
      LOG=n
      
      Review URL: https://codereview.chromium.org/1842953003
      
      Cr-Commit-Position: refs/heads/master@{#35226}
      f70b3d3b
  3. 16 Mar, 2016 1 commit
  4. 02 Feb, 2016 1 commit
  5. 29 Jan, 2016 1 commit
    • littledan's avatar
      Fix Unicode string normalization with null bytes · f3e41d96
      littledan authored
      Previously, String.prototype.normalize constructed its ICU input
      string as a null-terminated string. This creates a bug for strings
      which contain a null byte, which is allowed in ECMAScript. This
      patch constructs the ICU string based on its length so that the
      entire string is normalized.
      
      R=jshin@chromium.org
      BUG=v8:4654
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1645223003
      
      Cr-Commit-Position: refs/heads/master@{#33614}
      f3e41d96
  6. 04 Jan, 2016 1 commit