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
bd3cfab0
Commit
bd3cfab0
authored
Nov 21, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get out of the interpreter faster
parent
218d8cd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/codegen/ast_interpreter.cpp
src/codegen/ast_interpreter.cpp
+1
-1
src/codegen/opt/escape_analysis.cpp
src/codegen/opt/escape_analysis.cpp
+2
-0
No files found.
src/codegen/ast_interpreter.cpp
View file @
bd3cfab0
...
...
@@ -43,7 +43,7 @@
namespace
pyston
{
#define OSR_THRESHOLD 100
#define REOPT_THRESHOLD 10
0
#define REOPT_THRESHOLD 10
union
Value
{
bool
b
;
...
...
src/codegen/opt/escape_analysis.cpp
View file @
bd3cfab0
...
...
@@ -53,6 +53,8 @@ void EscapeAnalysis::getAnalysisUsage(llvm::AnalysisUsage& info) const {
}
bool
EscapeAnalysis
::
runOnFunction
(
Function
&
F
)
{
return
false
;
// This analysis is currently broken and not maintained
if
(
VERBOSITY
(
"opt"
)
>=
1
)
outs
()
<<
"Running escape analysis on "
<<
F
.
getName
()
<<
'\n'
;
...
...
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