Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 28, 2011
  1. Add ScalaObject and Serializable to base.sources

    ScalaObject was previously supplied by the parts of the runtime
    written in C. That's been removed so we need it now from the
    library. Serializable was previously provided in runtime.scala.
Commits on Jul 26, 2011
  1. Provide Math.sqrt in runtime.scala

    Needed for nbody shootout program
  2. Fix {MIN,MAX}_VALUE for Int Short and Long

    They were pretty much exactly backwards. Oops!
Commits on Jul 25, 2011
Commits on Jul 23, 2011
  1. @league

    Refactor llvm Makefile; can separately build ffi.sources, base.sources.

    league authored
    The fix in `d29a9fac` also resolved a problem I had before compiling
    @ffi.sources separately. Now the `separate2` section of Makefile shows
    compiling @ffi.sources first, then @base.sources, then
    separate1.scala, then separate2.scala.
    Trying to separate out runtime.scala still causes problems. The
    `separate3` section seems to compile things in the right order, but
    the output is still messed up.
  2. Uniformly omit parens on Number xxxValue calls

    With the LLVM backend these classes are written in scala so the presence of the parens is not flexible. I chose to omit the parens since the methods are not side-affecting.
  3. @league

    Attempt to separately compile runtime.scala (somewhat broken).

    league authored
    One fix was needed on finding the right symbol to output for
    java.lang.System; that part now works. However, we have to arrange for
    the System.sym to be loaded before the System.class in rt.jar; for new
    we set sun.boot.class.path in the Makefile.
    With these fixes, runtime.scala is separately compiled, however
    running it produces the wrong output.
    runscala bin/separate2.bc separate2 # works
    runscala bin/separate3.bc separate2 # compiles but output wrong!
  4. @league
Commits on Jul 22, 2011
  1. @league

    Separate compilation of classes and objects.

    league authored
    From docs/examples/llvm, try: make bin/separate2.bc
    It will run the compiler twice, for each source file.
    Unclear for now whether it works to compile the runtime.scala, ffi
    sources, etc. in advance.
  2. @league
Commits on Jul 21, 2011
  1. Merge changes from Chris League

  2. Reenable the scala.runtime.*Ref classes

    They're needed for parts of the library. toString methods remain
    commented out because they're somehow causing errors.
  3. Fix externalEquals forLLVM

    Because BoxesRuntime for LLVM is implemented in scala there is no true
    static and since JavaPlatform externalEquals method is named equals it
    resolved to an OverloadedSymbol between the external equals and object
    equals. Could have kept using equals and filter to get the right symbol
    but it was much simpler to just change the name. We also need to fix up
    the call type and load the BoxesRunTimeClass module.
  4. Fix runtime <-> stdlib compatibility

    ThreadLocal's type parameter needs to be unbounded
    PrintStream.print{,ln} needs to accept Any not Object
Commits on Jul 20, 2011
  1. @league

    Separate compilation, in an embryonic stage.

    league authored
    Very broken with respect to companion objects (modules) but I can
    compile the class `a.scala` first, and then `b.scala` (without
    specifying `a`) and it will pick up `a` from `irfiles/a.sym`.
    cd docs/examples/llvm
    ../../../build/quick/bin/scalac -no-specialization -cp irfiles \
      -d irfiles -target:llvm a.scala runtime.scala @ffi.sources
    ../../../build/quick/bin/scalac -no-specialization -cp irfiles \
      -d irfiles -target:llvm b.scala runtime.scala @ffi.sources
Commits on Jul 19, 2011
  1. @league

    Revise inner-class test program to not use structural type.

    league authored
    It was pulling in reflection stuff, which triggered a bug we're not
    ready to fix yet. This version compiles fine.
Commits on Jul 18, 2011
Commits on Jul 17, 2011
  1. @league
  2. @league
  3. @league
  4. Build improvements

    Register src/llvmrt as a subdir for the toplevel configure script
    Improve examples makefile to build arbitrary source files
  5. Update ignores

Commits on Jul 1, 2011
  1. Implement marshalling for Ptr[_] values

    Also use it in the APR sample for type safe foreign calls
Commits on Jun 25, 2011
Commits on Jun 24, 2011
  1. add missing base source list

  2. Merge branch 'master' into llvm

  3. add simplified predef

  4. add missing apr wrapper

  5. add missing ffi source list

Something went wrong with that request. Please try again.