Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
b82fd22e
Commit
b82fd22e
authored
Nov 07, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable -Wmismatched-tags
parent
f337e148
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
18 additions
and
19 deletions
+18
-19
src/Makefile
src/Makefile
+1
-1
src/asm_writing/icinfo.h
src/asm_writing/icinfo.h
+1
-1
src/asm_writing/rewriter.h
src/asm_writing/rewriter.h
+1
-1
src/codegen/entry.h
src/codegen/entry.h
+0
-1
src/codegen/irgen/hooks.h
src/codegen/irgen/hooks.h
+1
-1
src/codegen/irgen/irgenerator.h
src/codegen/irgen/irgenerator.h
+1
-1
src/codegen/llvm_interpreter.h
src/codegen/llvm_interpreter.h
+1
-1
src/codegen/osrentry.h
src/codegen/osrentry.h
+1
-1
src/codegen/patchpoints.h
src/codegen/patchpoints.h
+1
-1
src/core/types.h
src/core/types.h
+5
-5
src/gc/heap.h
src/gc/heap.h
+2
-2
src/runtime/objmodel.h
src/runtime/objmodel.h
+3
-3
No files found.
src/Makefile
View file @
b82fd22e
...
@@ -203,7 +203,7 @@ CLANG_DEPS := $(CLANGPP_EXE) $(abspath $(dir $(CLANGPP_EXE))/../../built_release
...
@@ -203,7 +203,7 @@ CLANG_DEPS := $(CLANGPP_EXE) $(abspath $(dir $(CLANGPP_EXE))/../../built_release
# settings to make clang and ccache play nicely:
# settings to make clang and ccache play nicely:
CLANG_CCACHE_FLAGS
:=
-Qunused-arguments
CLANG_CCACHE_FLAGS
:=
-Qunused-arguments
CLANG_EXTRA_FLAGS
:=
-
Wno-mismatched-tags
-
enable-tbaa
-ferror-limit
=
$(ERROR_LIMIT)
$(CLANG_CCACHE_FLAGS)
CLANG_EXTRA_FLAGS
:=
-enable-tbaa
-ferror-limit
=
$(ERROR_LIMIT)
$(CLANG_CCACHE_FLAGS)
ifeq
($(COLOR),1)
ifeq
($(COLOR),1)
CLANG_EXTRA_FLAGS
+=
-fcolor-diagnostics
CLANG_EXTRA_FLAGS
+=
-fcolor-diagnostics
else
else
...
...
src/asm_writing/icinfo.h
View file @
b82fd22e
...
@@ -128,7 +128,7 @@ public:
...
@@ -128,7 +128,7 @@ public:
};
};
class
ICSetupInfo
;
class
ICSetupInfo
;
class
CompiledFunction
;
struct
CompiledFunction
;
void
registerCompiledPatchpoint
(
CompiledFunction
*
cf
,
uint8_t
*
start_addr
,
uint8_t
*
slowpath_start_addr
,
void
registerCompiledPatchpoint
(
CompiledFunction
*
cf
,
uint8_t
*
start_addr
,
uint8_t
*
slowpath_start_addr
,
uint8_t
*
continue_addr
,
uint8_t
*
slowpath_rtn_addr
,
const
ICSetupInfo
*
,
uint8_t
*
continue_addr
,
uint8_t
*
slowpath_rtn_addr
,
const
ICSetupInfo
*
,
StackInfo
stack_info
,
std
::
unordered_set
<
int
>
live_outs
);
StackInfo
stack_info
,
std
::
unordered_set
<
int
>
live_outs
);
...
...
src/asm_writing/rewriter.h
View file @
b82fd22e
...
@@ -26,7 +26,7 @@ namespace pyston {
...
@@ -26,7 +26,7 @@ namespace pyston {
class
TypeRecorder
;
class
TypeRecorder
;
class
ICInfo
;
class
ICInfo
;
class
ICSlotInfo
;
struct
ICSlotInfo
;
class
ICSlotRewrite
;
class
ICSlotRewrite
;
class
ICInvalidator
;
class
ICInvalidator
;
...
...
src/codegen/entry.h
View file @
b82fd22e
...
@@ -19,7 +19,6 @@ namespace pyston {
...
@@ -19,7 +19,6 @@ namespace pyston {
class
AST_Module
;
class
AST_Module
;
class
BoxedModule
;
class
BoxedModule
;
class
CompiledFunction
;
void
initCodegen
();
void
initCodegen
();
void
teardownCodegen
();
void
teardownCodegen
();
...
...
src/codegen/irgen/hooks.h
View file @
b82fd22e
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
namespace
pyston
{
namespace
pyston
{
class
CompiledFunction
;
struct
CompiledFunction
;
class
CLFunction
;
class
CLFunction
;
class
OSRExit
;
class
OSRExit
;
...
...
src/codegen/irgen/irgenerator.h
View file @
b82fd22e
...
@@ -34,7 +34,7 @@ namespace pyston {
...
@@ -34,7 +34,7 @@ namespace pyston {
class
CFGBlock
;
class
CFGBlock
;
class
GCBuilder
;
class
GCBuilder
;
class
PatchpointInfo
;
struct
PatchpointInfo
;
class
ScopeInfo
;
class
ScopeInfo
;
class
TypeAnalysis
;
class
TypeAnalysis
;
...
...
src/codegen/llvm_interpreter.h
View file @
b82fd22e
...
@@ -27,7 +27,7 @@ class GCVisitor;
...
@@ -27,7 +27,7 @@ class GCVisitor;
class
Box
;
class
Box
;
class
BoxedDict
;
class
BoxedDict
;
class
LineInfo
;
struct
LineInfo
;
Box
*
interpretFunction
(
llvm
::
Function
*
f
,
int
nargs
,
Box
*
closure
,
Box
*
generator
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
arg3
,
Box
*
interpretFunction
(
llvm
::
Function
*
f
,
int
nargs
,
Box
*
closure
,
Box
*
generator
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
arg3
,
Box
**
args
);
Box
**
args
);
...
...
src/codegen/osrentry.h
View file @
b82fd22e
...
@@ -24,7 +24,7 @@ class Function;
...
@@ -24,7 +24,7 @@ class Function;
namespace
pyston
{
namespace
pyston
{
class
StackMap
;
struct
StackMap
;
class
OSREntryDescriptor
{
class
OSREntryDescriptor
{
private:
private:
...
...
src/codegen/patchpoints.h
View file @
b82fd22e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
namespace
pyston
{
namespace
pyston
{
class
CompiledFunction
;
struct
CompiledFunction
;
class
CompilerType
;
class
CompilerType
;
struct
StackMap
;
struct
StackMap
;
class
TypeRecorder
;
class
TypeRecorder
;
...
...
src/core/types.h
View file @
b82fd22e
...
@@ -121,7 +121,7 @@ class BoxedModule;
...
@@ -121,7 +121,7 @@ class BoxedModule;
class
BoxedFunction
;
class
BoxedFunction
;
class
ICGetattr
;
class
ICGetattr
;
class
ICSlotInfo
;
struct
ICSlotInfo
;
class
CFG
;
class
CFG
;
class
AST
;
class
AST
;
...
@@ -253,7 +253,7 @@ public:
...
@@ -253,7 +253,7 @@ public:
};
};
typedef
std
::
vector
<
CompiledFunction
*>
FunctionList
;
typedef
std
::
vector
<
CompiledFunction
*>
FunctionList
;
class
CallRewriteArgs
;
struct
CallRewriteArgs
;
class
CLFunction
{
class
CLFunction
{
public:
public:
int
num_args
;
int
num_args
;
...
@@ -386,9 +386,9 @@ public:
...
@@ -386,9 +386,9 @@ public:
class
HiddenClass
;
class
HiddenClass
;
extern
HiddenClass
*
root_hcls
;
extern
HiddenClass
*
root_hcls
;
class
SetattrRewriteArgs
;
struct
SetattrRewriteArgs
;
class
GetattrRewriteArgs
;
struct
GetattrRewriteArgs
;
class
DelattrRewriteArgs
;
struct
DelattrRewriteArgs
;
struct
HCAttrs
{
struct
HCAttrs
{
public:
public:
...
...
src/gc/heap.h
View file @
b82fd22e
...
@@ -103,7 +103,7 @@ constexpr const size_t sizes[] = {
...
@@ -103,7 +103,7 @@ constexpr const size_t sizes[] = {
};
};
#define NUM_BUCKETS (sizeof(sizes) / sizeof(sizes[0]))
#define NUM_BUCKETS (sizeof(sizes) / sizeof(sizes[0]))
class
LargeObj
;
struct
LargeObj
;
class
Heap
{
class
Heap
{
private:
private:
Block
*
heads
[
NUM_BUCKETS
];
Block
*
heads
[
NUM_BUCKETS
];
...
@@ -127,7 +127,7 @@ private:
...
@@ -127,7 +127,7 @@ private:
}
}
~
ThreadBlockCache
();
~
ThreadBlockCache
();
};
};
friend
class
ThreadBlockCache
;
friend
struct
ThreadBlockCache
;
// TODO only use thread caches if we're in GRWL mode?
// TODO only use thread caches if we're in GRWL mode?
threading
::
PerThreadSet
<
ThreadBlockCache
,
Heap
*>
thread_caches
;
threading
::
PerThreadSet
<
ThreadBlockCache
,
Heap
*>
thread_caches
;
...
...
src/runtime/objmodel.h
View file @
b82fd22e
...
@@ -81,13 +81,13 @@ extern "C" bool isSubclass(BoxedClass* child, BoxedClass* parent);
...
@@ -81,13 +81,13 @@ extern "C" bool isSubclass(BoxedClass* child, BoxedClass* parent);
extern
"C"
BoxedClosure
*
createClosure
(
BoxedClosure
*
parent_closure
);
extern
"C"
BoxedClosure
*
createClosure
(
BoxedClosure
*
parent_closure
);
extern
"C"
Box
*
getiter
(
Box
*
o
);
extern
"C"
Box
*
getiter
(
Box
*
o
);
class
SetattrRewriteArgs
;
struct
SetattrRewriteArgs
;
void
setattrInternal
(
Box
*
obj
,
const
std
::
string
&
attr
,
Box
*
val
,
SetattrRewriteArgs
*
rewrite_args
);
void
setattrInternal
(
Box
*
obj
,
const
std
::
string
&
attr
,
Box
*
val
,
SetattrRewriteArgs
*
rewrite_args
);
class
BinopRewriteArgs
;
struct
BinopRewriteArgs
;
extern
"C"
Box
*
binopInternal
(
Box
*
lhs
,
Box
*
rhs
,
int
op_type
,
bool
inplace
,
BinopRewriteArgs
*
rewrite_args
);
extern
"C"
Box
*
binopInternal
(
Box
*
lhs
,
Box
*
rhs
,
int
op_type
,
bool
inplace
,
BinopRewriteArgs
*
rewrite_args
);
class
CallRewriteArgs
;
struct
CallRewriteArgs
;
Box
*
typeCallInternal
(
BoxedFunction
*
f
,
CallRewriteArgs
*
rewrite_args
,
ArgPassSpec
argspec
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
typeCallInternal
(
BoxedFunction
*
f
,
CallRewriteArgs
*
rewrite_args
,
ArgPassSpec
argspec
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
arg3
,
Box
**
args
,
const
std
::
vector
<
const
std
::
string
*>*
keyword_names
);
Box
*
arg3
,
Box
**
args
,
const
std
::
vector
<
const
std
::
string
*>*
keyword_names
);
...
...
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