Permalink
Browse files

Remove dead code introduced with nop insertion checkin

  • Loading branch information...
1 parent f43afb7 commit 5da0bd8f41a3a7b880477c0d6f5b31629292bfc1 Rick Reitmaier committed Nov 4, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 nanojit/Assembler.cpp
View
@@ -1492,13 +1492,10 @@ namespace nanojit
{
size_t delta = (uintptr_t)priorIns - (uintptr_t)_nIns; // # bytes that have been emitted since last go-around
- if (codeList) {
- codeList = codeList;
- }
// if no codeList then we know priorIns and _nIns are on same page, otherwise make sure priorIns was not in the previous code block
if (!codeList || !codeList->isInBlock(priorIns)) {
NanoAssert(delta < VMPI_getVMPageSize()); // sanity check
- nopInsertTrigger -= delta;
+ nopInsertTrigger -= (int32_t) delta;
if (nopInsertTrigger < 0)
{
nopInsertTrigger = noiseForNopInsertion(_noise);

0 comments on commit 5da0bd8

Please sign in to comment.