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
44cdb668
Commit
44cdb668
authored
Jul 06, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
5500b773
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
src/codegen/irgen/irgenerator.h
src/codegen/irgen/irgenerator.h
+0
-1
src/codegen/unwinding.cpp
src/codegen/unwinding.cpp
+0
-20
No files found.
src/codegen/irgen/irgenerator.h
View file @
44cdb668
...
...
@@ -46,7 +46,6 @@ class UnwindInfo;
typedef
VRegMap
<
CompilerVariable
*>
SymbolTable
;
typedef
VRegMap
<
llvm
::
Value
*>
DefinednessTable
;
typedef
VRegMap
<
CompilerVariable
*>
SortedSymbolTable
;
typedef
VRegMap
<
ConcreteCompilerVariable
*>
ConcreteSymbolTable
;
extern
const
std
::
string
CREATED_CLOSURE_NAME
;
...
...
src/codegen/unwinding.cpp
View file @
44cdb668
...
...
@@ -329,26 +329,6 @@ public:
}
}
#if 0
//llvm::ArrayRef<StackMap::Record::Location> findLocations(llvm::StringRef name) {
llvm::ArrayRef<StackMap::Record::Location> findLocations(const LocationMap::LocationTable& table) {
assert(id.type == PythonFrameId::COMPILED);
CompiledFunction* cf = getCF();
uint64_t ip = getId().ip;
assert(ip > cf->code_start);
unsigned offset = ip - cf->code_start;
//const LocationMap::LocationTable& table = cf->location_map->names[name];
auto entry = table.findEntry(offset);
if (!entry)
return {};
assert(entry->locations.size());
return entry->locations;
}
#endif
AST_stmt
*
getCurrentStatement
()
{
assert
(
getFrameInfo
()
->
stmt
);
return
getFrameInfo
()
->
stmt
;
...
...
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