Skip to content

Commit 6dc6015

Browse files
authored
update to JuliaInterpreter 0.10 (#911)
* update to JuliaInterpreter 0.10 This commit implements the migration to the new JuliaInterpreter interface proposed in JuliaDebug/JuliaInterpreter.jl#683. It purely performs the migration to the new interface and does not include any refactoring based on it. In practice, `methods_by_execution!` is quite complex, and using the `Interpreter` interface may not allow us to simplify its implementation. That said, this commit seems to achieve a modest latency improvement by changing the argument type declaration from `@nospecialize(recurse)` to `interp::Interpreter` (with easier code specialization). * checking in docs/Manifest.toml
1 parent 57c856b commit 6dc6015

File tree

9 files changed

+397
-61
lines changed

9 files changed

+397
-61
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ DistributedExt = "Distributed"
2323
[compat]
2424
CodeTracking = "1.2"
2525
Distributed = "1"
26-
JuliaInterpreter = "0.9.46"
27-
LoweredCodeUtils = "3.2"
26+
JuliaInterpreter = "0.10"
27+
LoweredCodeUtils = "3.3"
2828
OrderedCollections = "1"
2929
# Exclude Requires-1.1.0 - see https://github.com/JuliaPackaging/Requires.jl/issues/94
3030
Requires = "~1.0, ^1.1.1"

docs/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Manifest.toml linguist-generated

docs/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
!Manifest.toml

docs/Manifest.toml

Lines changed: 330 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Revise.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ module Revise
3636
using OrderedCollections, CodeTracking, JuliaInterpreter, LoweredCodeUtils
3737

3838
using CodeTracking: PkgFiles, basedir, srcfiles, basepath
39-
using JuliaInterpreter: codelocs, finish_and_return!, get_return, is_doc_expr,
40-
isassign, isidentical, is_quotenode_egal, linetable,
41-
LineTypes, lookup, moduleof, pc_expr, scopeof,
42-
step_expr!, whichtt
39+
using JuliaInterpreter: Compiled, Frame, Interpreter, LineTypes, RecursiveInterpreter
40+
using JuliaInterpreter: codelocs, finish_and_return!, get_return, is_doc_expr, isassign,
41+
isidentical, is_quotenode_egal, linetable, lookup, moduleof,
42+
pc_expr, scopeof, step_expr!
4343
using LoweredCodeUtils: next_or_nothing!, callee_matches
4444

4545
include("packagedef.jl")

0 commit comments

Comments
 (0)