Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
06276eb9
Commit
06276eb9
authored
32 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added NOTE-NEXT-INSTRUCTION, which is like NOTE-THIS-LOCATION except that
it doesn't interfere with the scheduler.
parent
05b7fa51
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/vmdef.lisp
+15
-3
15 additions, 3 deletions
compiler/vmdef.lisp
with
15 additions
and
3 deletions
compiler/vmdef.lisp
+
15
−
3
View file @
06276eb9
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/vmdef.lisp,v 1.4
1
1992/05/
18 17:55
:5
7
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/vmdef.lisp,v 1.4
2
1992/05/
21 22:49
:5
2
wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -24,7 +24,8 @@
define-move-function
define-move-vop
primitive-type-or-lose
meta-primitive-type-or-lose
def-primitive-type
def-primitive-type-alias
primitive-type-vop
define-vop
sc-case
sc-is
note-this-location
))
primitive-type-vop
define-vop
sc-case
sc-is
note-this-location
note-next-instruction
))
;;; Template-Or-Lose -- Internal
;;;
...
...
@@ -2447,10 +2448,21 @@
;;;
(
defun
note-this-location
(
vop
kind
)
"NOTE-THIS-LOCATION VOP Kind
No
d
e that the current code location is an interesting (to the debugger)
No
t
e that the current code location is an interesting (to the debugger)
location of the specified Kind. VOP is the VOP responsible for this code.
This VOP must specify some non-null :SAVE-P value (perhaps :COMPUTE-ONLY) so
that the live set is computed."
(
let
((
lab
(
gen-label
)))
(
emit-label
lab
)
(
note-debug-location
vop
lab
kind
)))
;;; NOTE-NEXT-INSTRUCTION -- interface.
;;;
(
defun
note-next-instruction
(
vop
kind
)
"NOTE-NEXT-INSTRUCTION VOP Kind
Similar to NOTE-THIS-LOCATION, except the use the location of the next
instruction for the code location, wherever the scheduler decided to put
it."
(
assert
(
backend-featurep
:new-assembler
))
(
new-assem:emit-postit
#'
(
lambda
(
posn
)
(
note-debug-location
vop
posn
kind
))))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment