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: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 44d5f8059634
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 262de51967e2
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 27, 2016

  1. Copy the full SHA
    b6ffacc View commit details
  2. Fix GCC issue.

    brixen committed Jun 27, 2016
    Copy the full SHA
    262de51 View commit details
Showing with 6 additions and 1 deletion.
  1. +1 −1 machine/capi/data.cpp
  2. +5 −0 machine/memory/managed.hpp
2 changes: 1 addition & 1 deletion machine/capi/data.cpp
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ namespace rubinius {
Data* data = c_as<Data>(object_);

if(data->freed_p()) {
rb_raise(rb_eArgError, "Data object has already been freed");
rb_raise(rb_eArgError, "TypedData object has already been freed");
}

if(type_ == cRData) {
5 changes: 5 additions & 0 deletions machine/memory/managed.hpp
Original file line number Diff line number Diff line change
@@ -97,6 +97,11 @@ namespace memory {
case eSystem:
return "MachineThread";
}

/* GCC cannot determine that the above switch covers the enum and hence
* every exit from this function is covered.
*/
return "unknown kind";
}

Kind kind() const {