1. 27 Sep, 2021 2 commits
  2. 24 Oct, 2019 1 commit
    • Tobias Tebbi's avatar
      [torque] introduce generic abstract types · 5bba6680
      Tobias Tebbi authored
      This expands the existing mechanism for generic structs to also cover
      abstract types. This involves:
      - Moving the SpecializationKey from StructType to Type, so that it's
        also available to AbstractType.
      - Moving the generic parameters out of the StructDeclaration AST node
        and using the existing GenericDeclaration AST node for generic structs
        and abstract types too.
      - The GenericStructType declarable gets generalized to GenericType.
      
      This will be useful for defining a Weak<T> type for weak pointers.
      
      Bug: v8:7793
      Change-Id: I183b3a038a143cf0ae5888150104c4a025fd736c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1859623
      Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#64533}
      5bba6680
  3. 10 Oct, 2019 1 commit
  4. 09 Jul, 2019 1 commit
  5. 08 Jul, 2019 1 commit
  6. 05 Jun, 2019 1 commit
  7. 21 May, 2019 1 commit
    • Simon Zünd's avatar
      [torque] More flexibel and uniform error reporting · bdfd1e4b
      Simon Zünd authored
      This CL changes the existing TorqueError struct into a more general
      TorqueMessage by adding a "kind" enum. The contextual for lint errors
      is removed and replaced by a list of TorqueMessages.
      
      A MessageBuilder is introduced to help with the different
      combinations of present information and method of reporting. A lint
      error with custom SourcePosition can be reported like this:
      
      Lint("naming convention error").Position(<src_pos_var>);
      
      While a fatal error, with CurrentSourcePosition can be thrown
      like this:
      
      Error("something went horrible wrong").Throw();
      
      This approach is both backwards compatible and should prove flexible
      enough to add more information to messages or add other message kinds.
      
      Bug: v8:7793
      Change-Id: Ib04fa188e34b3e8e9a6526a086f80da8f690a6f5
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1617245
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61696}
      bdfd1e4b
  8. 15 May, 2019 1 commit
    • Simon Zünd's avatar
      [torque-ls] Support types in document-wide symbol requests · d6b51cba
      Simon Zünd authored
      This CL adds support for all kinds of Types to "textDocument/symbol"
      requests. While LSP has support for classes and structs, it does not
      have support for generic types. Only classes are marked as such,
      while all other types are marked as structs in terms of the LSP.
      
      Special care has to be taken with TypeAliases. Generic call sites
      introduce a new scope (similar to namespace scopes), where new
      TypeAliases are created for Generic type arguments. These TypeAliases
      then point to the specialized type inside this call-site specific
      scope. To omit the specialized TypeAliaes from the symbols list,
      they are marked using the "is_user_defined" flag.
      
      R=sigurds@chromium.org
      
      Bug: v8:8880
      Change-Id: I576d1c677a5255d54f7774aa053f431608a4cd0c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1613240
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Auto-Submit: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61534}
      d6b51cba
  9. 14 May, 2019 3 commits
  10. 08 May, 2019 1 commit
    • Simon Zünd's avatar
      Reland "[torque] Introduce force_assert_statements compiler option" · 2e3862d7
      Simon Zünd authored
      This is a reland of 2d45ecf0
      
      The reland properly initializes struct fields in unittests. To prevent
      this in the future, TorqueCompilerOptions uses brace initialization.
      
      Original change's description:
      > [torque] Introduce force_assert_statements compiler option
      >
      > "assert(...)" statements are usually only visited and generated in
      > debug builds. To provide Language Server support for statements inside
      > asserts, the force_assert_statements option allows to manually
      > override this behavior and visit assert statements in release builds.
      >
      > R=sigurds@chromium.org
      >
      > Bug: v8:7793
      > Change-Id: I38f48e35f2b0a1a98abb74b7babb1edd2d7dba24
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599180
      > Auto-Submit: Simon Zünd <szuend@chromium.org>
      > Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#61295}
      
      Bug: v8:7793
      Change-Id: I96ef863c8c85ae87a00cbe858655d4a2c9368b41
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599599
      Auto-Submit: Simon Zünd <szuend@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61315}
      2e3862d7
  11. 07 May, 2019 4 commits
    • Clemens Hammacher's avatar
      Revert "[torque] Introduce force_assert_statements compiler option" · 4d4fe18d
      Clemens Hammacher authored
      This reverts commit 2d45ecf0.
      
      Reason for revert: Fails on arm64 msan: https://ci.chromium.org/p/v8/builders/ci/V8%20Linux%20-%20arm64%20-%20sim%20-%20MSAN/26567
      
      Original change's description:
      > [torque] Introduce force_assert_statements compiler option
      > 
      > "assert(...)" statements are usually only visited and generated in
      > debug builds. To provide Language Server support for statements inside
      > asserts, the force_assert_statements option allows to manually
      > override this behavior and visit assert statements in release builds.
      > 
      > R=​sigurds@chromium.org
      > 
      > Bug: v8:7793
      > Change-Id: I38f48e35f2b0a1a98abb74b7babb1edd2d7dba24
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599180
      > Auto-Submit: Simon Zünd <szuend@chromium.org>
      > Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#61295}
      
      TBR=sigurds@chromium.org,szuend@chromium.org
      
      Change-Id: Ib0f72a756ff1f6c9838d3d7f837a326b1dab3278
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:7793
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599549Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61296}
      4d4fe18d
    • Simon Zünd's avatar
      [torque] Introduce force_assert_statements compiler option · 2d45ecf0
      Simon Zünd authored
      "assert(...)" statements are usually only visited and generated in
      debug builds. To provide Language Server support for statements inside
      asserts, the force_assert_statements option allows to manually
      override this behavior and visit assert statements in release builds.
      
      R=sigurds@chromium.org
      
      Bug: v8:7793
      Change-Id: I38f48e35f2b0a1a98abb74b7babb1edd2d7dba24
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599180
      Auto-Submit: Simon Zünd <szuend@chromium.org>
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61295}
      2d45ecf0
    • Simon Zünd's avatar
      [torque-ls] Add boilerplate for DocumentSymbol requests and responses · 034defad
      Simon Zünd authored
      DocumentSymbol responses provide all symbols (macros, classes, etc.)
      in a given document. The LSP standard evolved over time and supports
      two different kind of responses here:
        - A simpler one, that is a plain list of all the symbols
        - A more detailed one, allowing a hierarchy of symbols. For example
          a class symbol has a list of field/method symbols attached. This
          is used by editors to build hierarchical outline views.
      
      For now, the simpler response is chosen as its also used for
      workspace wide symbol searches.
      
      This CL adds the necessary boilerplate so the actual implementation CL
      is easier to review.
      
      R=tebbi@chromium.org
      
      Bug: v8:8880
      Change-Id: I6c86fc839b1f4e0309f6403a5f9afd5c162c0e89
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1598757
      Auto-Submit: Simon Zünd <szuend@chromium.org>
      Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61294}
      034defad
    • Sigurd Schneider's avatar
      [torque] Make torque declarations order independent · 70678d53
      Sigurd Schneider authored
      Torque semantic analysis is now a four-stage process:
      
       1. The TypeDeclarationVisitor introduces a TypeAlias for every
          TypeDeclaration* (or derived) in the Torque source, but does
          not process the TypeDeclaration* itself.
       2. All aliases are resolved in a dependency respecting manner.
          This CL also changes struct member resolution to happen at
          this point already. Types for classes are created, but their
          members are not resolved to allow classes to mutually reference
          each other in their field types.
       3. 'value' declarations (macros, etc.) are processed.
       4. Members of classes are processed.
      
      Bug: v8:7793
      Change-Id: I46108555a5cdf30df03c5d4399ec786ee6cc6df4
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1584319
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61264}
      70678d53
  12. 25 Apr, 2019 1 commit
  13. 24 Apr, 2019 1 commit
    • Simon Zünd's avatar
      [torque] Collect lint errors for later processing · 1397697e
      Simon Zünd authored
      This CL changes lint errors to not be printed directly to stderr.
      Instead, they are collected in a list that gets surfaced via
      the TorqueCompilerResult. This is done so they can be presented
      to language server clients.
      
      This change also removes the "abort_on_lint_errors" option.
      API users can now decide for themselves what to do, depending on
      the presence of lint errors in the returned list.
      
      R=sigurds@chromium.org, tebbi@chromium.org
      
      Bug: v8:8880
      Change-Id: I44601010491aafcf4c8609fd8c115219317506a4
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1581608Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60983}
      1397697e
  14. 23 Apr, 2019 1 commit
    • Simon Zünd's avatar
      [torque-ls] Send compilation errors to the client · f663bb6e
      Simon Zünd authored
      This CL implements the first set of diagnostic notifications.
      When Torque compilation fails, the language server translates the
      Torque error into a diagnostics notification and pushes it to the
      client.
      
      Note that per specification, the server is responsible to manage the
      state of all published diagnostics. This means that the server is
      also responsible for clearing out previous notifications if they
      become stale.
      
      Bug: v8:8880
      Change-Id: Ief46dc1d94d1e5b7fa3e0048df494bfc05974031
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1569434Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60942}
      f663bb6e
  15. 16 Apr, 2019 2 commits
    • Simon Zünd's avatar
      [torque] Refactor compiler interface to not 'leak' contextuals · 724d6586
      Simon Zünd authored
      The Torque compiler makes heavy use of scoped globals (contextuals).
      This created a problem for the design of the compiler interface:
      
          - Either the compiler provides all the necessary scopes itself,
            disallowing callers any access to the contextuals, which might
            contain data the caller is interested in (such as the
            compilation result).
          - Or the caller provides all the necessary scopes.
      
      This design was fine when the compiler executable was the only user.
      With the recent addition of unit tests and the language server, this
      interface became brittle, as missing scopes are only detected at
      runtime.
      
      This CL refactors the compiler interface to not leak contextual
      scopes past the interface boundary. Content of contextuals is
      collected and returned, providing access for the caller and freedom
      to either use the data directly or move it into the callers own scopes.
      
      R=sigurds@chromium.org
      
      Bug: v8:7793
      Change-Id: Ieb988522d08fc6026b3fb74d976008e566146770
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1529000
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60867}
      724d6586
    • Simon Zünd's avatar
      Reland^3 "[torque] Throw exception instead of aborting if something goes wrong" · 2d8f2e86
      Simon Zünd authored
      This is a reland of ffe6940f
      
      The UBSan issue is fixed with https://crrev.com/c/1566511
      
      TBR=tebbi@chromium.org
      
      Original change's description:
      > Reland^2 "[torque] Throw exception instead of aborting if something goes wrong"
      >
      > This is a reland of 251d1623
      >
      > The reland fixes ASAN component builds by adding RTTI build config to both
      > torque executables. Big thanks to sigurds for finding the fix.
      >
      > Original change's description:
      > > Reland "[torque] Throw exception instead of aborting if something goes wrong"
      > >
      > > This is a reland of 3bd49f9b
      > >
      > > The issue on the windows bot is apparently a compiler bug in MSVC related to
      > > move construction. The fix seems to be to change the order of the fields in
      > > "JsonParseResult" (go figure).
      > >
      > > Drive-by-change: Fix LS on windows by emitting correct line endings and
      > > enabling exceptions for the LS executable as well.
      > >
      > > Original change's description:
      > > > [torque] Throw exception instead of aborting if something goes wrong
      > > >
      > > > This CL enables exceptions for the Torque compiler and Torque language
      > > > server. Instead of aborting when something goes wrong during
      > > > compilation, a TorqueError is thrown, containing the error message
      > > > and a source position. The compiler executable still prints the error
      > > > and aborts, while the language server will pass this information
      > > > along to the client (not included in this CL).
      > > >
      > > > R=danno@chromium.org
      > > >
      > > > Bug: v8:8880
      > > > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      > > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
      > > > Reviewed-by: Daniel Clifford <danno@chromium.org>
      > > > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#60512}
      > >
      > > Bug: v8:8880
      > > Change-Id: I00e6591bbb4c516dd7540a7e27196853bc637f11
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545995
      > > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
      > > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#60736}
      >
      > Bug: v8:8880
      > Change-Id: Iba198d771169283e83e74324f27aa9e90b8d8975
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1563770
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#60804}
      
      Bug: v8:8880
      Change-Id: I5b7e40ad27bff8f7bfa22240954c2cb75083ad82
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1564065Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Auto-Submit: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60860}
      2d8f2e86
  16. 12 Apr, 2019 2 commits
    • Simon Zünd's avatar
      Revert "Reland^2 "[torque] Throw exception instead of aborting if something goes wrong"" · d7801445
      Simon Zünd authored
      This reverts commit ffe6940f.
      
      Reason for revert: Breaks UBSan bot
      
      Original change's description:
      > Reland^2 "[torque] Throw exception instead of aborting if something goes wrong"
      > 
      > This is a reland of 251d1623
      > 
      > The reland fixes ASAN component builds by adding RTTI build config to both
      > torque executables. Big thanks to sigurds for finding the fix.
      > 
      > Original change's description:
      > > Reland "[torque] Throw exception instead of aborting if something goes wrong"
      > >
      > > This is a reland of 3bd49f9b
      > >
      > > The issue on the windows bot is apparently a compiler bug in MSVC related to
      > > move construction. The fix seems to be to change the order of the fields in
      > > "JsonParseResult" (go figure).
      > >
      > > Drive-by-change: Fix LS on windows by emitting correct line endings and
      > > enabling exceptions for the LS executable as well.
      > >
      > > Original change's description:
      > > > [torque] Throw exception instead of aborting if something goes wrong
      > > >
      > > > This CL enables exceptions for the Torque compiler and Torque language
      > > > server. Instead of aborting when something goes wrong during
      > > > compilation, a TorqueError is thrown, containing the error message
      > > > and a source position. The compiler executable still prints the error
      > > > and aborts, while the language server will pass this information
      > > > along to the client (not included in this CL).
      > > >
      > > > R=danno@chromium.org
      > > >
      > > > Bug: v8:8880
      > > > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      > > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
      > > > Reviewed-by: Daniel Clifford <danno@chromium.org>
      > > > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#60512}
      > >
      > > Bug: v8:8880
      > > Change-Id: I00e6591bbb4c516dd7540a7e27196853bc637f11
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545995
      > > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
      > > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#60736}
      > 
      > Bug: v8:8880
      > Change-Id: Iba198d771169283e83e74324f27aa9e90b8d8975
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1563770
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#60804}
      
      TBR=sigurds@chromium.org,tebbi@chromium.org,szuend@chromium.org
      
      Change-Id: I30ccec8ac28158c102a4e9a01074432172685f96
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:8880
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1564207Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60805}
      d7801445
    • Simon Zünd's avatar
      Reland^2 "[torque] Throw exception instead of aborting if something goes wrong" · ffe6940f
      Simon Zünd authored
      This is a reland of 251d1623
      
      The reland fixes ASAN component builds by adding RTTI build config to both
      torque executables. Big thanks to sigurds for finding the fix.
      
      Original change's description:
      > Reland "[torque] Throw exception instead of aborting if something goes wrong"
      >
      > This is a reland of 3bd49f9b
      >
      > The issue on the windows bot is apparently a compiler bug in MSVC related to
      > move construction. The fix seems to be to change the order of the fields in
      > "JsonParseResult" (go figure).
      >
      > Drive-by-change: Fix LS on windows by emitting correct line endings and
      > enabling exceptions for the LS executable as well.
      >
      > Original change's description:
      > > [torque] Throw exception instead of aborting if something goes wrong
      > >
      > > This CL enables exceptions for the Torque compiler and Torque language
      > > server. Instead of aborting when something goes wrong during
      > > compilation, a TorqueError is thrown, containing the error message
      > > and a source position. The compiler executable still prints the error
      > > and aborts, while the language server will pass this information
      > > along to the client (not included in this CL).
      > >
      > > R=danno@chromium.org
      > >
      > > Bug: v8:8880
      > > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
      > > Reviewed-by: Daniel Clifford <danno@chromium.org>
      > > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#60512}
      >
      > Bug: v8:8880
      > Change-Id: I00e6591bbb4c516dd7540a7e27196853bc637f11
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545995
      > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
      > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#60736}
      
      Bug: v8:8880
      Change-Id: Iba198d771169283e83e74324f27aa9e90b8d8975
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1563770Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60804}
      ffe6940f
  17. 10 Apr, 2019 3 commits
    • Maya Lekova's avatar
      Revert "Reland "[torque] Throw exception instead of aborting if something goes wrong"" · 69e90801
      Maya Lekova authored
      This reverts commit 251d1623.
      
      Reason for revert: Breaks ASAN debug builders for ClusterFuzz, see https://ci.chromium.org/p/v8/builders/ci/V8%20Clusterfuzz%20Linux64%20ASAN%20-%20debug%20builder/8115
      
      Original change's description:
      > Reland "[torque] Throw exception instead of aborting if something goes wrong"
      > 
      > This is a reland of 3bd49f9b
      > 
      > The issue on the windows bot is apparently a compiler bug in MSVC related to
      > move construction. The fix seems to be to change the order of the fields in
      > "JsonParseResult" (go figure).
      > 
      > Drive-by-change: Fix LS on windows by emitting correct line endings and
      > enabling exceptions for the LS executable as well.
      > 
      > Original change's description:
      > > [torque] Throw exception instead of aborting if something goes wrong
      > >
      > > This CL enables exceptions for the Torque compiler and Torque language
      > > server. Instead of aborting when something goes wrong during
      > > compilation, a TorqueError is thrown, containing the error message
      > > and a source position. The compiler executable still prints the error
      > > and aborts, while the language server will pass this information
      > > along to the client (not included in this CL).
      > >
      > > R=danno@chromium.org
      > >
      > > Bug: v8:8880
      > > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
      > > Reviewed-by: Daniel Clifford <danno@chromium.org>
      > > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#60512}
      > 
      > Bug: v8:8880
      > Change-Id: I00e6591bbb4c516dd7540a7e27196853bc637f11
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545995
      > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
      > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#60736}
      
      TBR=danno@chromium.org,tebbi@chromium.org,szuend@chromium.org
      
      Change-Id: I0b22db1652bd46fbb7167f75b710ed5e408ea8ac
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:8880
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1561311Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Commit-Queue: Maya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60747}
      69e90801
    • Simon Zünd's avatar
      [torque-ls] Fix sort-order of torque files for compilation · 293f7a34
      Simon Zünd authored
      This CL moves frames.tq and arguments.tq to the front of the file
      list when compiling Torque files.
      
      Note that order independent compilation will most likely be
      implemented in the near future, at which point this code becomes
      obsolete.
      
      R=tebbi@chromium.org
      
      Bug: v8:8880
      Change-Id: I7e32637925c28202f9b017a568bc06ae5bd595b1
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1561210Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60746}
      293f7a34
    • Simon Zünd's avatar
      Reland "[torque] Throw exception instead of aborting if something goes wrong" · 251d1623
      Simon Zünd authored
      This is a reland of 3bd49f9b
      
      The issue on the windows bot is apparently a compiler bug in MSVC related to
      move construction. The fix seems to be to change the order of the fields in
      "JsonParseResult" (go figure).
      
      Drive-by-change: Fix LS on windows by emitting correct line endings and
      enabling exceptions for the LS executable as well.
      
      Original change's description:
      > [torque] Throw exception instead of aborting if something goes wrong
      >
      > This CL enables exceptions for the Torque compiler and Torque language
      > server. Instead of aborting when something goes wrong during
      > compilation, a TorqueError is thrown, containing the error message
      > and a source position. The compiler executable still prints the error
      > and aborts, while the language server will pass this information
      > along to the client (not included in this CL).
      >
      > R=danno@chromium.org
      >
      > Bug: v8:8880
      > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
      > Reviewed-by: Daniel Clifford <danno@chromium.org>
      > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#60512}
      
      Bug: v8:8880
      Change-Id: I00e6591bbb4c516dd7540a7e27196853bc637f11
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545995Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60736}
      251d1623
  18. 28 Mar, 2019 2 commits
    • Simon Zünd's avatar
      Revert "[torque] Throw exception instead of aborting if something goes wrong" · c3b51ac0
      Simon Zünd authored
      This reverts commit 3bd49f9b.
      
      Reason for revert: Build failure on Win Bot
      
      Original change's description:
      > [torque] Throw exception instead of aborting if something goes wrong
      > 
      > This CL enables exceptions for the Torque compiler and Torque language
      > server. Instead of aborting when something goes wrong during
      > compilation, a TorqueError is thrown, containing the error message
      > and a source position. The compiler executable still prints the error
      > and aborts, while the language server will pass this information
      > along to the client (not included in this CL).
      > 
      > R=​danno@chromium.org
      > 
      > Bug: v8:8880
      > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
      > Reviewed-by: Daniel Clifford <danno@chromium.org>
      > Commit-Queue: Simon Zünd <szuend@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#60512}
      
      TBR=danno@chromium.org,mvstanton@chromium.org,szuend@chromium.org
      
      Change-Id: Iac253da404eaf6e534267f59a42ca93667c205e4
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:8880
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1543849Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60513}
      c3b51ac0
    • Simon Zünd's avatar
      [torque] Throw exception instead of aborting if something goes wrong · 3bd49f9b
      Simon Zünd authored
      This CL enables exceptions for the Torque compiler and Torque language
      server. Instead of aborting when something goes wrong during
      compilation, a TorqueError is thrown, containing the error message
      and a source position. The compiler executable still prints the error
      and aborts, while the language server will pass this information
      along to the client (not included in this CL).
      
      R=danno@chromium.org
      
      Bug: v8:8880
      Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003Reviewed-by: 's avatarDaniel Clifford <danno@chromium.org>
      Commit-Queue: Simon Zünd <szuend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60512}
      3bd49f9b
  19. 05 Mar, 2019 1 commit
  20. 04 Mar, 2019 1 commit
  21. 01 Mar, 2019 3 commits