Browse files

Minor changes to make ecmascript compile with the latest and greatest…

… parrot.
  • Loading branch information...
1 parent d527bdd commit a432c4ad36c457172468df557ed335b29624fe32 @bnoordhuis bnoordhuis committed Nov 17, 2010
Showing with 2 additions and 3 deletions.
  1. +0 −2 js.pir
  2. +2 −1 src/builtin/builtins.pir
View
2 js.pir
@@ -56,8 +56,6 @@ js is a compiler for ECMAScript-262 (3rd edition) running on Parrot.
.namespace ['JS';'Compiler']
-.loadlib 'js_group'
-
.sub 'onload' :load :init :anon
load_bytecode 'PCT.pbc'
View
3 src/builtin/builtins.pir
@@ -2,6 +2,7 @@
# $Id$
.include 'except_severity.pasm'
+.loadlib 'bit_ops'
## Not sure what standard built-in library is for ECMAScript, but
## we need some output function for testing. For now this'll do.
@@ -40,7 +41,7 @@ done:
.local pmc stdin
stdin = getstdin
.local string line
- line = readline stdin
+ line = stdin.'readline'()
.return(line)
.end

0 comments on commit a432c4a

Please sign in to comment.