Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
5d5b6627
Commit
5d5b6627
authored
Sep 09, 2016
by
Jim Stichnoth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subzero: Fix a build error. Also reformat.
BUG= none TBR=nicolascapens@chromium.org Review URL:
https://codereview.chromium.org/2328873003
.
parent
a9a92a5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
IceInstX86BaseImpl.h
src/IceInstX86BaseImpl.h
+5
-6
IceMemory.cpp
src/IceMemory.cpp
+1
-1
IceMemory.h
src/IceMemory.h
+1
-1
No files found.
src/IceInstX86BaseImpl.h
View file @
5d5b6627
...
...
@@ -105,10 +105,10 @@ InstImpl<TraitsType>::InstX86Label::InstX86Label(Cfg *Func,
}
template
<
typename
TraitsType
>
InstImpl
<
TraitsType
>::
InstX86Br
::
InstX86Br
(
Cfg
*
Func
,
const
CfgNode
*
TargetTrue
,
const
CfgNode
*
TargetFalse
,
const
InstX86Label
*
Label
,
BrCond
Condition
,
Mode
Kind
)
InstImpl
<
TraitsType
>::
InstX86Br
::
InstX86Br
(
Cfg
*
Func
,
const
CfgNode
*
TargetTrue
,
const
CfgNode
*
TargetFalse
,
const
InstX86Label
*
Label
,
BrCond
Condition
,
Mode
Kind
)
:
InstX86Base
(
Func
,
InstX86Base
::
Br
,
0
,
nullptr
),
Condition
(
Condition
),
TargetTrue
(
TargetTrue
),
TargetFalse
(
TargetFalse
),
Label
(
Label
),
Kind
(
Kind
)
{}
...
...
@@ -305,8 +305,7 @@ InstImpl<TraitsType>::InstX86StoreQ::InstX86StoreQ(Cfg *Func, Variable *Value,
}
template
<
typename
TraitsType
>
InstImpl
<
TraitsType
>::
InstX86Nop
::
InstX86Nop
(
Cfg
*
Func
,
NopVariant
Variant
)
InstImpl
<
TraitsType
>::
InstX86Nop
::
InstX86Nop
(
Cfg
*
Func
,
NopVariant
Variant
)
:
InstX86Base
(
Func
,
InstX86Base
::
Nop
,
0
,
nullptr
),
Variant
(
Variant
)
{}
template
<
typename
TraitsType
>
...
...
src/IceMemory.cpp
View file @
5d5b6627
...
...
@@ -38,7 +38,7 @@ void CfgAllocatorTraits::set_current(ArenaAllocator *Allocator) {
ICE_TLS_SET_FIELD
(
CfgAllocator
,
Allocator
);
}
void
CfgAllocatorTraits
::
set_current
(
nullptr_t
)
{
void
CfgAllocatorTraits
::
set_current
(
std
::
nullptr_t
)
{
ICE_TLS_SET_FIELD
(
CfgAllocator
,
nullptr
);
}
...
...
src/IceMemory.h
View file @
5d5b6627
...
...
@@ -144,7 +144,7 @@ public:
static
allocator_type
current
();
static
void
set_current
(
const
manager_type
*
Manager
);
static
void
set_current
(
ArenaAllocator
*
Allocator
);
static
void
set_current
(
nullptr_t
);
static
void
set_current
(
std
::
nullptr_t
);
private
:
ICE_TLS_DECLARE_FIELD
(
ArenaAllocator
*
,
CfgAllocator
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment