summaryrefslogtreecommitdiff
path: root/module/system
diff options
context:
space:
mode:
Diffstat (limited to 'module/system')
-rw-r--r--module/system/repl/command.scm4
-rw-r--r--module/system/vm/objcode.scm1
2 files changed, 2 insertions, 3 deletions
diff --git a/module/system/repl/command.scm b/module/system/repl/command.scm
index a709c8dd6..a9fdc992d 100644
--- a/module/system/repl/command.scm
+++ b/module/system/repl/command.scm
@@ -1,6 +1,6 @@
;;; Repl commands
-;; Copyright (C) 2001, 2009, 2010, 2011 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
;; This library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public
@@ -490,7 +490,7 @@ Disassemble a compiled procedure."
(define-meta-command (disassemble-file repl file)
"disassemble-file FILE
Disassemble a file."
- (guile:disassemble (load-objcode (->string file))))
+ (guile:disassemble (load-thunk-from-file (->string file))))
;;;
diff --git a/module/system/vm/objcode.scm b/module/system/vm/objcode.scm
index 3ad29880b..f939a5551 100644
--- a/module/system/vm/objcode.scm
+++ b/module/system/vm/objcode.scm
@@ -21,7 +21,6 @@
(define-module (system vm objcode)
#:export (objcode? objcode-meta
bytecode->objcode objcode->bytecode
- load-objcode write-objcode
load-thunk-from-file load-thunk-from-memory
word-size byte-order))