| Index: src/ia32/assembler-ia32.h
|
| diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h
|
| index 56d91524f13c43fac0907c196cd2a7045666f74c..1dab0a608cdd87cea5f9e383715820181e701828 100644
|
| --- a/src/ia32/assembler-ia32.h
|
| +++ b/src/ia32/assembler-ia32.h
|
| @@ -64,15 +64,15 @@ namespace internal {
|
| // and best performance in optimized code.
|
| //
|
| struct Register {
|
| - bool is_valid() const { return 0 <= code_ && code_ < 8; }
|
| - bool is(Register reg) const { return code_ == reg.code_; }
|
| + bool is_valid() const { return 0 <= code_ && code_ < 8; }
|
| + bool is(Register reg) const { return code_ == reg.code_; }
|
| // eax, ebx, ecx and edx are byte registers, the rest are not.
|
| - bool is_byte_register() const { return code_ <= 3; }
|
| - int code() const {
|
| + bool is_byte_register() const { return code_ <= 3; }
|
| + int code() const {
|
| ASSERT(is_valid());
|
| return code_;
|
| }
|
| - int bit() const {
|
| + int bit() const {
|
| ASSERT(is_valid());
|
| return 1 << code_;
|
| }
|
| @@ -93,8 +93,8 @@ const Register no_reg = { -1 };
|
|
|
|
|
| struct XMMRegister {
|
| - bool is_valid() const { return 0 <= code_ && code_ < 8; }
|
| - int code() const {
|
| + bool is_valid() const { return 0 <= code_ && code_ < 8; }
|
| + int code() const {
|
| ASSERT(is_valid());
|
| return code_;
|
| }
|
| @@ -855,9 +855,9 @@ class Assembler : public Malloced {
|
| // Used for inline tables, e.g., jump-tables.
|
| void dd(uint32_t data, RelocInfo::Mode reloc_info);
|
|
|
| - int pc_offset() const { return pc_ - buffer_; }
|
| + int pc_offset() const { return pc_ - buffer_; }
|
| int current_statement_position() const { return current_statement_position_; }
|
| - int current_position() const { return current_position_; }
|
| + int current_position() const { return current_position_; }
|
|
|
| // Check if there is less than kGap bytes available in the buffer.
|
| // If this is the case, we need to grow the buffer before emitting
|
|
|