Lines 1388-1396
Link Here
|
1388 |
// really do need a page break |
1388 |
// really do need a page break |
1389 |
verbose_only(if (_logc->lcbits & LC_Assembly) outputf("newpage %p:", pc);) |
1389 |
verbose_only(if (_logc->lcbits & LC_Assembly) outputf("newpage %p:", pc);) |
1390 |
if (_inExit) |
1390 |
if (_inExit) |
1391 |
codeAlloc(exitStart, exitEnd, _nIns); |
1391 |
codeAlloc(exitStart, exitEnd, _nIns verbose_only(, exitBytes)); |
1392 |
else |
1392 |
else |
1393 |
codeAlloc(codeStart, codeEnd, _nIns); |
1393 |
codeAlloc(codeStart, codeEnd, _nIns verbose_only(, codeBytes)); |
1394 |
} |
1394 |
} |
1395 |
// now emit the jump, but make sure we won't need another page break. |
1395 |
// now emit the jump, but make sure we won't need another page break. |
1396 |
// we're pedantic, but not *that* pedantic. |
1396 |
// we're pedantic, but not *that* pedantic. |
Lines 1402-1410
Link Here
|
1402 |
if (pc - bytes < top) { |
1402 |
if (pc - bytes < top) { |
1403 |
verbose_only(if (_logc->lcbits & LC_Assembly) outputf("newpage %p:", pc);) |
1403 |
verbose_only(if (_logc->lcbits & LC_Assembly) outputf("newpage %p:", pc);) |
1404 |
if (_inExit) |
1404 |
if (_inExit) |
1405 |
codeAlloc(exitStart, exitEnd, _nIns); |
1405 |
codeAlloc(exitStart, exitEnd, _nIns verbose_only(, exitBytes)); |
1406 |
else |
1406 |
else |
1407 |
codeAlloc(codeStart, codeEnd, _nIns); |
1407 |
codeAlloc(codeStart, codeEnd, _nIns verbose_only(, codeBytes)); |
1408 |
// this jump will call underrunProtect again, but since we're on a new |
1408 |
// this jump will call underrunProtect again, but since we're on a new |
1409 |
// page, nothing will happen. |
1409 |
// page, nothing will happen. |
1410 |
JMP(pc); |
1410 |
JMP(pc); |
Lines 1418-1428
Link Here
|
1418 |
|
1418 |
|
1419 |
void Assembler::nativePageSetup() { |
1419 |
void Assembler::nativePageSetup() { |
1420 |
if (!_nIns) { |
1420 |
if (!_nIns) { |
1421 |
codeAlloc(codeStart, codeEnd, _nIns); |
1421 |
codeAlloc(codeStart, codeEnd, _nIns verbose_only(, codeBytes)); |
1422 |
IF_PEDANTIC( pedanticTop = _nIns; ) |
1422 |
IF_PEDANTIC( pedanticTop = _nIns; ) |
1423 |
} |
1423 |
} |
1424 |
if (!_nExitIns) { |
1424 |
if (!_nExitIns) { |
1425 |
codeAlloc(exitStart, exitEnd, _nExitIns); |
1425 |
codeAlloc(exitStart, exitEnd, _nExitIns verbose_only(, exitBytes)); |
1426 |
} |
1426 |
} |
1427 |
} |
1427 |
} |
1428 |
|
1428 |
|