Skip to content

xplat: remove win64 - #4604

Merged
chakrabot merged 1 commit into
chakra-core:release/1.8from
obastemur:fix_target_64
Jan 26, 2018
Merged

chakrabot merged 1 commit into
chakra-core:release/1.8from
obastemur:fix_target_64

Conversation

@obastemur

Copy link
Copy Markdown
Collaborator

xplat was using some x86 codes / definitions for x64 due to win64 macro usage.
This PR fixes some of the slow test fails those we were experiencing recently on ccrobot.

xplat was using some x86 codes / definitions for x64 due to win64 macro usage.
This PR will fix some of the slow test fails those we were experiencing recently on ccrobot
@obastemur
obastemur requested a review from jianchun January 25, 2018 23:47
@obastemur obastemur added this to the 1.8 milestone Jan 25, 2018
BackwardPass::DoTrackBitOpsOrNumber() const
{
#if _WIN64
#if defined(_WIN32) && defined(TARGET_64)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor thing but I noticed that _WIN32 seems to be explicitly set to 1 sometimes, so maybe just check if _WIN32 && defined... ?

static int GetBufferOffset() { return offsetof(ArrayBuffer, buffer); }

virtual void AddParent(ArrayBufferParent* parent) override;
#if _WIN64

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment below mentions amd64 -- should this be _M_X64 instead? (theres a similar use in SharedArrayBuffer.h)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The numbers there are not vendor dependent.

@obastemur

Copy link
Copy Markdown
Collaborator Author

@sethbrenith @jackhorton Thanks for the review

@chakrabot
chakrabot merged commit 81a241a into chakra-core:release/1.8 Jan 26, 2018
chakrabot pushed a commit that referenced this pull request Jan 26, 2018
Merge pull request #4604 from obastemur:fix_target_64

xplat was using some x86 codes / definitions for x64 due to win64 macro usage.
This PR fixes some of the slow test fails those we were experiencing recently on ccrobot.
chakrabot pushed a commit that referenced this pull request Jan 26, 2018
Merge pull request #4604 from obastemur:fix_target_64

xplat was using some x86 codes / definitions for x64 due to win64 macro usage.
This PR fixes some of the slow test fails those we were experiencing recently on ccrobot.
chakrabot pushed a commit that referenced this pull request Jan 26, 2018
Merge pull request #4604 from obastemur:fix_target_64

xplat was using some x86 codes / definitions for x64 due to win64 macro usage.
This PR fixes some of the slow test fails those we were experiencing recently on ccrobot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants