Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Issue 317773002: Fix Win64 build of Dart VM. (Closed)

Created:
6 years, 6 months ago by Vyacheslav Egorov (Google)
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org, ricow1, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix Win64 build of Dart VM. 1. Build script tools/build.py now actually builds X64 target when x64 is passed as an architecture: - GYP files set 'msvs_configuration_platform': 'x64' for Win_x64 configuration; - NSS related files are fixed to have correct set of defines for ia32 and x64 builds and include right files. A os_windows.c file added to work-around inability to have different sets of source files per configuration. Originally this was controlled through target_arch GYP define and required regeneration of the solution. - build.py passes Win32 or x64 platform to devenv as part of build configuration argument; 2. Dart VM now supports Win64 ABI. ABI description is moved into a separate class CallingConventions in constants_x64.h. BUG=http://dartbug.com/7792 R=iposva@google.com, ricow@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=37078

Patch Set 1 #

Patch Set 2 : add fix for http://dartbug.com/19213 #

Total comments: 28

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -230 lines) Patch
M runtime/bin/net/nss.gyp View 1 2 5 chunks +73 lines, -52 lines 0 comments Download
A + runtime/bin/net/os_windows.c View 1 chunk +6 lines, -2 lines 0 comments Download
M runtime/bin/platform_win.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 3 chunks +84 lines, -40 lines 0 comments Download
M runtime/vm/assembler_x64_test.cc View 7 chunks +16 lines, -14 lines 0 comments Download
M runtime/vm/bigint_operations.cc View 1 1 chunk +45 lines, -1 line 0 comments Download
M runtime/vm/constants_x64.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 1 chunk +5 lines, -48 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/locations.h View 1 chunk +5 lines, -2 lines 0 comments Download
M runtime/vm/runtime_entry_x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stack_frame_x64.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 14 chunks +115 lines, -60 lines 0 comments Download
M runtime/vm/stub_code_x64_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/thread_interrupter_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M tools/build.py View 1 chunk +11 lines, -2 lines 0 comments Download
M tools/gyp/configurations_msvs.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Vyacheslav Egorov (Google)
6 years, 6 months ago (2014-06-04 18:10:03 UTC) #1
Vyacheslav Egorov (Google)
Incorporate fix for http://dartbug.com/19213 into this CL and re-enable corelib/big_integer_vm_test which was originally disabled. The ...
6 years, 6 months ago (2014-06-04 19:36:19 UTC) #2
Vyacheslav Egorov (Google)
+srdjan, siva, fschneider as reviewers
6 years, 6 months ago (2014-06-05 14:21:51 UTC) #3
ricow1
build.py and gyp changes lgtm https://codereview.chromium.org/317773002/diff/20001/runtime/bin/net/nss.gyp File runtime/bin/net/nss.gyp (right): https://codereview.chromium.org/317773002/diff/20001/runtime/bin/net/nss.gyp#newcode81 runtime/bin/net/nss.gyp:81: }, place # Added ...
6 years, 6 months ago (2014-06-05 14:41:41 UTC) #4
srdjan
LGTM https://codereview.chromium.org/317773002/diff/20001/runtime/bin/net/nss.gyp File runtime/bin/net/nss.gyp (right): https://codereview.chromium.org/317773002/diff/20001/runtime/bin/net/nss.gyp#newcode455 runtime/bin/net/nss.gyp:455: # ], Is the above dead code that ...
6 years, 6 months ago (2014-06-05 17:00:46 UTC) #5
siva
DBC https://codereview.chromium.org/317773002/diff/20001/runtime/bin/platform_win.cc File runtime/bin/platform_win.cc (right): https://codereview.chromium.org/317773002/diff/20001/runtime/bin/platform_win.cc#newcode63 runtime/bin/platform_win.cc:63: for (int i = 0; i < count; ...
6 years, 6 months ago (2014-06-05 17:21:18 UTC) #6
Ivan Posva
LGTM -Ivan https://codereview.chromium.org/317773002/diff/20001/runtime/bin/platform_win.cc File runtime/bin/platform_win.cc (right): https://codereview.chromium.org/317773002/diff/20001/runtime/bin/platform_win.cc#newcode63 runtime/bin/platform_win.cc:63: for (int i = 0; i < ...
6 years, 6 months ago (2014-06-05 17:42:11 UTC) #7
Vyacheslav Egorov (Google)
Comments addressed. I will land as soon as I am in the stable internet connection ...
6 years, 6 months ago (2014-06-05 18:05:55 UTC) #8
Ivan Posva
https://codereview.chromium.org/317773002/diff/20001/runtime/bin/socket_win.cc File runtime/bin/socket_win.cc (right): https://codereview.chromium.org/317773002/diff/20001/runtime/bin/socket_win.cc#newcode73 runtime/bin/socket_win.cc:73: int Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) { On ...
6 years, 6 months ago (2014-06-05 18:13:39 UTC) #9
Vyacheslav Egorov (Google)
6 years, 6 months ago (2014-06-06 12:14:34 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r37078 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698