Sanitized source files (spaces / end line marks).

This commit is contained in:
kobalicekp
2014-05-03 00:57:16 +02:00
parent 98b4880141
commit 80730c541a
3 changed files with 14 additions and 14 deletions

View File

@@ -64,7 +64,7 @@ ConstPoolNode* ConstPoolTree::get(const void* data) {
size_t dataSize = _dataSize;
while (node != sentinel) {
int c = ::memcmp(node->getData(), data, dataSize);
int c = ::memcmp(node->getData(), data, dataSize);
if (c == 0)
return node;
node = node->_link[c < 0];
@@ -118,11 +118,11 @@ void ConstPoolTree::put(ConstPoolNode* newNode) {
_root = node;
}
}
// ============================================================================
// [asmjit::ConstPool - Construction / Destruction]
// ============================================================================
ConstPool::ConstPool(Zone* zone) {
_zone = zone;
@@ -226,7 +226,7 @@ static void ConstPool_addGap(ConstPool* self, size_t offset, size_t length) {
gap->_offset = offset;
gap->_length = gapLength;
offset += gapLength;
length -= gapLength;
}

View File

@@ -75,12 +75,12 @@ struct ConstPoolTree {
// --------------------------------------------------------------------------
// [Reset]
// --------------------------------------------------------------------------
ASMJIT_INLINE void reset() {
_root = const_cast<ConstPoolNode*>(&_sentinel);
_length = 0;
}
// --------------------------------------------------------------------------
// [Accessors]
// --------------------------------------------------------------------------
@@ -92,12 +92,12 @@ struct ConstPoolTree {
ASMJIT_INLINE size_t getLength() const {
return _length;
}
ASMJIT_INLINE void setDataSize(size_t dataSize) {
ASMJIT_ASSERT(isEmpty());
_dataSize = dataSize;
}
// --------------------------------------------------------------------------
// [Ops]
// --------------------------------------------------------------------------
@@ -220,9 +220,9 @@ struct ConstPool {
// --------------------------------------------------------------------------
// [Reset]
// --------------------------------------------------------------------------
ASMJIT_API void reset();
// --------------------------------------------------------------------------
// [Ops]
// --------------------------------------------------------------------------
@@ -266,7 +266,7 @@ struct ConstPool {
//! @brief Fill the destination with the constants from the pool.
ASMJIT_API void fill(void* dst);
// --------------------------------------------------------------------------
// [Members]
// --------------------------------------------------------------------------
@@ -279,7 +279,7 @@ struct ConstPool {
ConstPoolGap* _gaps[kIndexCount];
//! @brief Gaps pool
ConstPoolGap* _gapPool;
//! @brief Size of the pool (in bytes).
size_t _size;
//! @brief Alignemnt.

View File

@@ -2213,7 +2213,7 @@ _NextGroup:
// Handle the case that a 32-bit operation in 64-bit mode
// always zeroes the rest of the destination register and
// the case that move size is actually greater than or
// the case that move size is actually greater than or
// equal to the size of the variable.
if (movSize >= 4 || movSize >= varSize)
combinedFlags = outFlags;
@@ -2745,7 +2745,7 @@ _OnTarget:
goto _OnVisit;
}
// Issue #25: Moved '_OnJumpNext' here since it's important to patch
// Issue #25: Moved '_OnJumpNext' here since it's important to patch
// code again if there are more live variables than before.
_OnJumpNext:
if (bCur->delBits(from->getLiveness(), bLen)) {