Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 14, 2013
  1. Don't initialize Arguments::name twice (VM part)

    InlineCache::execute always initializes Arguments::name to appropriate name. So,
    there is no need to initialize Arguments::name when Arguments objects are
    constructed and immediately handed to it.
    This commit is only for the VM. One for the JIT will follow.
  2. Inline everything

  3. Inline state event check

Commits on Mar 13, 2013
  1. Factor out duplicated code

Commits on Mar 12, 2013
  1. Suppress warnings from Clang

    Suppress warnings from Clang when compiling with Valgrind like this:
    In file included from vm/capi/handle.cpp:3:
    vm/gc/baker.hpp:274:7: error: expression result unused [-Werror,-Wunused-value]
          VALGRIND_MAKE_MEM_NOACCESS(next->start().as_int(), next->size());
    /usr/include/valgrind/memcheck.h:110:5: note: expanded from:
        VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */,      \
    /usr/include/valgrind/valgrind.h:383:5: note: expanded from:
        _zzq_result;                                                  \
    Please remove this when this bug (*1) is fixed and the fixed Valgrind is
    available everywhere.
  2. @dbussink
Commits on Mar 11, 2013
  1. @brixen

    Re-enable building with clang.

    brixen committed
  2. @dbussink

    Initialize compactlookuptable first

    dbussink committed
    IO also uses it now, so we had another ontology issue that was exposed
    when doing a heap dump.
    Fixes evanphx/heap_dump#1
  3. @dbussink

    Cleanup push_local_depth implementation in JIT

    dbussink committed
    A depth of 0 is an invalid value here (the instruction in the
    interpreter throws an exception). We shouldn't special case it here and
    also removed the commented out implementation for depth = 1 since that
    isn't correct anyway.
Commits on Mar 10, 2013
  1. @dbussink

    Merge pull request #2198 from lmars/fix-melbourne-mri-build-on-linux

    dbussink committed
    Fix building melbourne for MRI on Linux
  2. @dbussink
  3. @dbussink
  4. Fix building melbourne for MRI on Linux

    Lewis Marshall committed
  5. @dbussink
  6. @dbussink

    The API of returns the number of needed bytes in certain cases

    dbussink committed
    When one of the arguments to replace into the string is a string itself
    and doesn't fit, the API of ruby_vsnprintf is that it returns the needed
    size of the string. Handle this case and grow the string to that size in
    that case.
    Fixes #2196
  7. @dbussink

    Add specs for rb_sprintf with a long argument

    dbussink committed
    Adds a spec where the argument to fill in is larger than the string,
    probably triggering a resize in the implementation.
Commits on Mar 8, 2013
  1. @dbussink
  2. @dbussink
  3. @dbussink
  4. @dbussink
  5. @dbussink

    Sort classes for LLVM offsets

    dbussink committed
    This makes sure that if we change one entry here, we don't always end up
    rewriting the whole file. This makes these changes cleaner in the
  6. @dbussink

    Remove unused loop optimization

    dbussink committed
    This hasn't been used since 2010, so we might as well remove it
  7. @dbussink

    Remove unused compile transforms

    dbussink committed
    The __kind_of__ call was only used in one place and can be replaced with
    using Rubinius::Type that we now have. The JIT can also optimize these
    regular methods well now, so having this doesn't give us anything
  8. @dbussink
  9. @dbussink
  10. @dbussink
  11. @dbussink

    Cleanup unused primitive

    dbussink committed
Commits on Mar 7, 2013
  1. @dbussink

    Merge pull request #2192 from ryoqun/llvm-oprofile-jit

    dbussink committed
    Enable profiling JIT-ted code using OProfile
  2. Create DICompileUnit to fix assertion error

    There was a following assertion error:
      Assertion failed: (TheCU && "Unable to create DW_TAG_file_type without CompileUnit"), function createFile, file DIBuilder.cpp, line 129.
    This occurs when using LLVM build with assertion enabled.
Commits on Mar 6, 2013
  1. @dbussink

    Use inline caches in the JIT helpers

    dbussink committed
    For some reason I can't think of, this was doing a method lookup
    manually instead of using the inline cache already available. This means
    these JIT helpers used the global cache without really needing to.
    Also cleans up helpers not used anymore.
  2. Support no LLVM

  3. Support LLVM 3.2

Something went wrong with that request. Please try again.