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

View File

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

View File

@@ -2213,7 +2213,7 @@ _NextGroup:
// Handle the case that a 32-bit operation in 64-bit mode // Handle the case that a 32-bit operation in 64-bit mode
// always zeroes the rest of the destination register and // 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. // equal to the size of the variable.
if (movSize >= 4 || movSize >= varSize) if (movSize >= 4 || movSize >= varSize)
combinedFlags = outFlags; combinedFlags = outFlags;
@@ -2745,7 +2745,7 @@ _OnTarget:
goto _OnVisit; 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. // code again if there are more live variables than before.
_OnJumpNext: _OnJumpNext:
if (bCur->delBits(from->getLiveness(), bLen)) { if (bCur->delBits(from->getLiveness(), bLen)) {