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
Hide 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
# settings to make clang and ccache play nicely:
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)
CLANG_EXTRA_FLAGS
+=
-fcolor-diagnostics
else
...
...
src/asm_writing/icinfo.h
View file @
b82fd22e
...
...
@@ -128,7 +128,7 @@ public:
};
class
ICSetupInfo
;
class
CompiledFunction
;
struct
CompiledFunction
;
void
registerCompiledPatchpoint
(
CompiledFunction
*
cf
,
uint8_t
*
start_addr
,
uint8_t
*
slowpath_start_addr
,
uint8_t
*
continue_addr
,
uint8_t
*
slowpath_rtn_addr
,
const
ICSetupInfo
*
,
StackInfo
stack_info
,
std
::
unordered_set
<
int
>
live_outs
);
...
...
src/asm_writing/rewriter.h
View file @
b82fd22e
...
...
@@ -26,7 +26,7 @@ namespace pyston {
class
TypeRecorder
;
class
ICInfo
;
class
ICSlotInfo
;
struct
ICSlotInfo
;
class
ICSlotRewrite
;
class
ICInvalidator
;
...
...
src/codegen/entry.h
View file @
b82fd22e
...
...
@@ -19,7 +19,6 @@ namespace pyston {
class
AST_Module
;
class
BoxedModule
;
class
CompiledFunction
;
void
initCodegen
();
void
teardownCodegen
();
...
...
src/codegen/irgen/hooks.h
View file @
b82fd22e
...
...
@@ -19,7 +19,7 @@
namespace
pyston
{
class
CompiledFunction
;
struct
CompiledFunction
;
class
CLFunction
;
class
OSRExit
;
...
...
src/codegen/irgen/irgenerator.h
View file @
b82fd22e
...
...
@@ -34,7 +34,7 @@ namespace pyston {
class
CFGBlock
;
class
GCBuilder
;
class
PatchpointInfo
;
struct
PatchpointInfo
;
class
ScopeInfo
;
class
TypeAnalysis
;
...
...
src/codegen/llvm_interpreter.h
View file @
b82fd22e
...
...
@@ -27,7 +27,7 @@ class GCVisitor;
class
Box
;
class
BoxedDict
;
class
LineInfo
;
struct
LineInfo
;
Box
*
interpretFunction
(
llvm
::
Function
*
f
,
int
nargs
,
Box
*
closure
,
Box
*
generator
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
arg3
,
Box
**
args
);
...
...
src/codegen/osrentry.h
View file @
b82fd22e
...
...
@@ -24,7 +24,7 @@ class Function;
namespace
pyston
{
class
StackMap
;
struct
StackMap
;
class
OSREntryDescriptor
{
private:
...
...
src/codegen/patchpoints.h
View file @
b82fd22e
...
...
@@ -25,7 +25,7 @@
namespace
pyston
{
class
CompiledFunction
;
struct
CompiledFunction
;
class
CompilerType
;
struct
StackMap
;
class
TypeRecorder
;
...
...
src/core/types.h
View file @
b82fd22e
...
...
@@ -121,7 +121,7 @@ class BoxedModule;
class
BoxedFunction
;
class
ICGetattr
;
class
ICSlotInfo
;
struct
ICSlotInfo
;
class
CFG
;
class
AST
;
...
...
@@ -253,7 +253,7 @@ public:
};
typedef
std
::
vector
<
CompiledFunction
*>
FunctionList
;
class
CallRewriteArgs
;
struct
CallRewriteArgs
;
class
CLFunction
{
public:
int
num_args
;
...
...
@@ -386,9 +386,9 @@ public:
class
HiddenClass
;
extern
HiddenClass
*
root_hcls
;
class
SetattrRewriteArgs
;
class
GetattrRewriteArgs
;
class
DelattrRewriteArgs
;
struct
SetattrRewriteArgs
;
struct
GetattrRewriteArgs
;
struct
DelattrRewriteArgs
;
struct
HCAttrs
{
public:
...
...
src/gc/heap.h
View file @
b82fd22e
...
...
@@ -103,7 +103,7 @@ constexpr const size_t sizes[] = {
};
#define NUM_BUCKETS (sizeof(sizes) / sizeof(sizes[0]))
class
LargeObj
;
struct
LargeObj
;
class
Heap
{
private:
Block
*
heads
[
NUM_BUCKETS
];
...
...
@@ -127,7 +127,7 @@ private:
}
~
ThreadBlockCache
();
};
friend
class
ThreadBlockCache
;
friend
struct
ThreadBlockCache
;
// TODO only use thread caches if we're in GRWL mode?
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);
extern
"C"
BoxedClosure
*
createClosure
(
BoxedClosure
*
parent_closure
);
extern
"C"
Box
*
getiter
(
Box
*
o
);
class
SetattrRewriteArgs
;
struct
SetattrRewriteArgs
;
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
);
class
CallRewriteArgs
;
struct
CallRewriteArgs
;
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
);
...
...
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