1. 18 Feb, 2022 1 commit
  2. 03 Aug, 2021 1 commit
    • Bruce Dawson's avatar
      Remove windows.h from win32-headers.h · fb9e1299
      Bruce Dawson authored
      Windows.h causes massive namespace pollution with its defining of many
      macros, it adds to build times, it disables warnings, and it makes it
      easier to write non-portable code.
      
      This change removes windows.h from V8's win32-headers.h. It does this
      by replicating the small number of typedefs that are needed and by
      defining three "proxy" types that are the same size and layout. The
      V8ToWindowsType functions are used to reinterpret_cast between the
      types.
      
      Prior to this change there were over 760 v8-related source files that
      include windows.h. After this change there are 16.
      
      Bug: chromium:796644
      Change-Id: I89efeed47028faae72de2da4f1dae345d8d7746c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3042215
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#76064}
      fb9e1299
  3. 01 Jul, 2021 1 commit
  4. 26 Feb, 2018 1 commit
  5. 08 Feb, 2018 1 commit
  6. 13 Oct, 2017 1 commit
  7. 27 Jul, 2016 1 commit
  8. 02 Jul, 2015 1 commit
    • dcheng's avatar
      Fix some clang warnings with -Wmissing-braces in v8. · 76ea6ae7
      dcheng authored
      Clang warns if there are missing braces around a subobject
      initializer. The most common idiom that triggers this is:
        STRUCT s = {0};
      if the first field of STRUCT is itself a struct. This can
      be more simply written as:
        STRUCT s = {};
      which also prevents the warning from firing.
      
      BUG=chromium:505297
      LOG=n
      
      Review URL: https://codereview.chromium.org/1219233003
      
      Cr-Commit-Position: refs/heads/master@{#29437}
      76ea6ae7
  9. 30 Jan, 2015 1 commit
  10. 23 Dec, 2014 1 commit
  11. 29 Aug, 2014 1 commit
  12. 27 Aug, 2014 1 commit