disable debug logging and fix build warnings

This commit is contained in:
Joel Dice 2008-05-31 17:06:45 -06:00
parent eacca98c3f
commit 7cdff9f1ee
2 changed files with 2 additions and 6 deletions

View File

@ -27,7 +27,7 @@ vmCall();
namespace {
const bool Verbose = true;
const bool Verbose = false;
const bool DebugNatives = false;
const bool DebugCallTable = false;
const bool DebugMethodTree = false;
@ -5096,8 +5096,6 @@ compileThunks(MyThread* t, MyProcessor* p)
+ codeSingletonSizeInBytes
(t, p->thunkSize * ThunkCount)));
Zone::Segment* oldSegment = codeZone(t)->segment;
p->defaultThunk = finish(t, defaultContext.context.assembler, "default");
p->nativeThunk = finish(t, nativeContext.context.assembler, "native");
p->aioobThunk = finish(t, aioobContext.context.assembler, "aioob");
@ -5121,8 +5119,6 @@ compileThunks(MyThread* t, MyProcessor* p)
#include "thunks.cpp"
#undef THUNK
assert(t, oldSegment == codeZone(t)->segment);
}
MyProcessor*

View File

@ -2213,7 +2213,7 @@ class BoundsCheckEvent: public Event {
}
CodePromise* nextPromise = codePromise(c, -1);
CodePromise* outOfBoundsPromise;
CodePromise* outOfBoundsPromise = 0;
if (constant) {
expect(c, constant->value.value->value() >= 0);