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
a87fa642
Commit
a87fa642
authored
May 12, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing include, and make GCC happy
parent
b737c559
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
src/codegen/dis.cpp
src/codegen/dis.cpp
+1
-1
src/codegen/stackmaps.cpp
src/codegen/stackmaps.cpp
+1
-1
src/core/ast.h
src/core/ast.h
+2
-0
No files found.
src/codegen/dis.cpp
View file @
a87fa642
...
...
@@ -173,7 +173,7 @@ void PystonJITEventListener::NotifyObjectEmitted(const llvm::ObjectImage& Obj) {
for
(
llvm
::
object
::
symbol_iterator
I
=
Obj
.
begin_symbols
(),
E
=
Obj
.
end_symbols
();
I
!=
E
;)
{
llvm
::
StringRef
name
;
uint64_t
addr
,
size
,
offset
;
uint64_t
addr
,
size
,
offset
=
0
;
code
=
I
->
getName
(
name
);
assert
(
!
code
);
code
=
I
->
getAddress
(
addr
);
...
...
src/codegen/stackmaps.cpp
View file @
a87fa642
...
...
@@ -57,7 +57,7 @@ void StackmapJITEventListener::NotifyObjectEmitted(const llvm::ObjectImage& Obj)
assert
(
!
code
);
if
(
name
==
"__LLVM_StackMaps"
)
{
uint64_t
stackmap_offset
;
uint64_t
stackmap_offset
=
0
;
code
=
I
->
getFileOffset
(
stackmap_offset
);
assert
(
!
code
);
// code = I->getSize(stackmap_size);
...
...
src/core/ast.h
View file @
a87fa642
...
...
@@ -15,6 +15,8 @@
#ifndef PYSTON_CORE_AST_H
#define PYSTON_CORE_AST_H
#include "core/common.h"
#include <cassert>
#include <cstdlib>
#include <stdint.h>
...
...
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