Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8a18dd1c8841
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 05379fce5e67
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 27, 2015

  1. [Truffle] Minor copy fix.

    nirvdrum committed Jul 27, 2015
    Copy the full SHA
    a19bde8 View commit details
  2. Copy the full SHA
    05379fc View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 truffle/README.md
  2. +1 −1 truffle/src/main/java/org/jruby/truffle/nodes/rubinius/ByteArrayNodes.java
2 changes: 1 addition & 1 deletion truffle/README.md
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ http://lafo.ssw.uni-linz.ac.at/graalvm/jruby/doc/. `Truffle::Debug.break` will
enter a shell and allow to introspect the program.

If you don't want to modify the program to include a call to
`Truffle::Debug.break` you can break the main thread externally. run with the
`Truffle::Debug.break` you can break the main thread externally. Run with the
instrumentation server enabled, `-Xtruffle.instrumentation_server_port=8080`.
Then you can send a message to the runtime to break at the current location:

Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ public GetByteNode(RubyContext context, SourceSection sourceSection) {

@Specialization
public int getByte(RubyBasicObject bytes, int index) {
return getBytes(bytes).get(index);
return getBytes(bytes).get(index) & 0xff;
}

}