diff --git a/src/code/binaryFileParser.cpp b/src/code/binaryFileParser.cpp old mode 100644 new mode 100755 diff --git a/src/code/binaryFileParser.hpp b/src/code/binaryFileParser.hpp old mode 100644 new mode 100755 diff --git a/src/code/bytecode.hpp b/src/code/bytecode.hpp old mode 100644 new mode 100755 diff --git a/src/code/codeObject.cpp b/src/code/codeObject.cpp old mode 100644 new mode 100755 diff --git a/src/code/codeObject.hpp b/src/code/codeObject.hpp old mode 100644 new mode 100755 diff --git a/src/main.cpp b/src/main.cpp old mode 100644 new mode 100755 diff --git a/src/memory/heap.cpp b/src/memory/heap.cpp old mode 100644 new mode 100755 index a0fbbcc31bafa5668a5c52233bef30d3e3d096e3..0816210313811f13026c6f0392f749c7b2d160b6 --- a/src/memory/heap.cpp +++ b/src/memory/heap.cpp @@ -1,6 +1,7 @@ #include "runtime/universe.hpp" #include "memory/heap.hpp" #include "memory/oopClosure.hpp" +#include Heap* Heap::instance = NULL; size_t Heap::MAX_CAP = 2 * 1024 * 1024; diff --git a/src/memory/heap.hpp b/src/memory/heap.hpp old mode 100644 new mode 100755 index ff5d4d82b1e40f5d2f6a4758f379ae817a85a958..2e9a32de4031ae12c546ff305a5dc3c304fb0f87 --- a/src/memory/heap.hpp +++ b/src/memory/heap.hpp @@ -2,7 +2,6 @@ #define MEMORY_HEAP_HPP #include -#include class HiObject; diff --git a/src/memory/oopClosure.cpp b/src/memory/oopClosure.cpp old mode 100644 new mode 100755 diff --git a/src/memory/oopClosure.hpp b/src/memory/oopClosure.hpp old mode 100644 new mode 100755 diff --git a/src/object/hiDict.cpp b/src/object/hiDict.cpp old mode 100644 new mode 100755 diff --git a/src/object/hiDict.hpp b/src/object/hiDict.hpp old mode 100644 new mode 100755 diff --git a/src/object/hiInteger.cpp b/src/object/hiInteger.cpp old mode 100644 new mode 100755 diff --git a/src/object/hiInteger.hpp b/src/object/hiInteger.hpp old mode 100644 new mode 100755 diff --git a/src/object/hiList.cpp b/src/object/hiList.cpp old mode 100644 new mode 100755 diff --git a/src/object/hiList.hpp b/src/object/hiList.hpp old mode 100644 new mode 100755 diff --git a/src/object/hiObject.cpp b/src/object/hiObject.cpp old mode 100644 new mode 100755 diff --git a/src/object/hiObject.hpp b/src/object/hiObject.hpp old mode 100644 new mode 100755 diff --git a/src/object/hiString.cpp b/src/object/hiString.cpp old mode 100644 new mode 100755 diff --git a/src/object/hiString.hpp b/src/object/hiString.hpp old mode 100644 new mode 100755 diff --git a/src/object/klass.cpp b/src/object/klass.cpp old mode 100644 new mode 100755 diff --git a/src/object/klass.hpp b/src/object/klass.hpp old mode 100644 new mode 100755 diff --git a/src/runtime/frameObject.cpp b/src/runtime/frameObject.cpp old mode 100644 new mode 100755 diff --git a/src/runtime/frameObject.hpp b/src/runtime/frameObject.hpp old mode 100644 new mode 100755 diff --git a/src/runtime/functionObject.cpp b/src/runtime/functionObject.cpp old mode 100644 new mode 100755 diff --git a/src/runtime/functionObject.hpp b/src/runtime/functionObject.hpp old mode 100644 new mode 100755 diff --git a/src/runtime/interpreter.cpp b/src/runtime/interpreter.cpp old mode 100644 new mode 100755 index 1eb01721ad6a706d726b9b4e4de4681d79fcc554..58652e1f95dad972cb2542dfa504d2b9f2ed5032 --- a/src/runtime/interpreter.cpp +++ b/src/runtime/interpreter.cpp @@ -267,6 +267,7 @@ void Interpreter::eval_frame() { printf("\n"); break; + case ByteCode::INPLACE_ADD: case ByteCode::BINARY_ADD: v = POP(); w = POP(); diff --git a/src/runtime/interpreter.hpp b/src/runtime/interpreter.hpp old mode 100644 new mode 100755 diff --git a/src/runtime/stringTable.cpp b/src/runtime/stringTable.cpp old mode 100644 new mode 100755 diff --git a/src/runtime/stringTable.hpp b/src/runtime/stringTable.hpp old mode 100644 new mode 100755 diff --git a/src/runtime/universe.cpp b/src/runtime/universe.cpp old mode 100644 new mode 100755 diff --git a/src/runtime/universe.hpp b/src/runtime/universe.hpp old mode 100644 new mode 100755 diff --git a/src/util/arrayList.cpp b/src/util/arrayList.cpp old mode 100644 new mode 100755 diff --git a/src/util/arrayList.hpp b/src/util/arrayList.hpp old mode 100644 new mode 100755 diff --git a/src/util/bufferedInputStream.hpp b/src/util/bufferedInputStream.hpp old mode 100644 new mode 100755 diff --git a/src/util/handles.cpp b/src/util/handles.cpp old mode 100644 new mode 100755 diff --git a/src/util/handles.hpp b/src/util/handles.hpp old mode 100644 new mode 100755 diff --git a/src/util/map.cpp b/src/util/map.cpp old mode 100644 new mode 100755 index d44971abea65f4aa5ec9fab68f8a60b4f9671ff7..f6c96276efa12c837fc54299c338fa1bead37b13 --- a/src/util/map.cpp +++ b/src/util/map.cpp @@ -73,7 +73,7 @@ template V Map::remove(K k) { int i = index(k); - if (k < 0) + if (i < 0) return 0; V v = _entries[i]._v; diff --git a/src/util/map.hpp b/src/util/map.hpp old mode 100644 new mode 100755 diff --git a/src/util/stack.cpp b/src/util/stack.cpp old mode 100644 new mode 100755 diff --git a/src/util/stack.hpp b/src/util/stack.hpp old mode 100644 new mode 100755