Commit 4e1713e8 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Lint fixes.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1112 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 263bac50
...@@ -488,7 +488,8 @@ static bool RawMatch(const byte* code_base, ...@@ -488,7 +488,8 @@ static bool RawMatch(const byte* code_base,
break; break;
} }
BYTECODE(CHECK_NOT_REGS_EQUAL) BYTECODE(CHECK_NOT_REGS_EQUAL)
if (registers[insn >> BYTECODE_SHIFT] == registers[Load32Aligned(pc + 4)]) { if (registers[insn >> BYTECODE_SHIFT] ==
registers[Load32Aligned(pc + 4)]) {
pc += BC_CHECK_NOT_REGS_EQUAL_LENGTH; pc += BC_CHECK_NOT_REGS_EQUAL_LENGTH;
} else { } else {
pc = code_base + Load32Aligned(pc + 8); pc = code_base + Load32Aligned(pc + 8);
......
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
namespace v8 { namespace internal { namespace v8 { namespace internal {
void RegExpMacroAssemblerIrregexp::Emit(uint32_t byte, uint32_t twenty_four_bits) { void RegExpMacroAssemblerIrregexp::Emit(uint32_t byte,
uint32_t twenty_four_bits) {
uint32_t word = ((twenty_four_bits << BYTECODE_SHIFT) | byte); uint32_t word = ((twenty_four_bits << BYTECODE_SHIFT) | byte);
ASSERT(pc_ <= buffer_.length()); ASSERT(pc_ <= buffer_.length());
if (pc_ + 3 >= buffer_.length()) { if (pc_ + 3 >= buffer_.length()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment