Chromium Code Reviews| Index: src/regexp-macro-assembler-ia32.cc |
| diff --git a/src/regexp-macro-assembler-ia32.cc b/src/regexp-macro-assembler-ia32.cc |
| index c532431b22d4715be90c7f30a9a2e32fb64923b1..14073da110a16d195c6e7897c6835a1fe12f16a8 100644 |
| --- a/src/regexp-macro-assembler-ia32.cc |
| +++ b/src/regexp-macro-assembler-ia32.cc |
| @@ -1,4 +1,3 @@ |
| -// Copyright 2008 the V8 project authors. All rights reserved. |
|
Christian Plesner Hansen
2008/11/25 12:02:06
This is a mistake right? Consider reading your di
Lasse Reichstein
2008/11/25 14:21:40
Yes, it's a mistake.
Thanks for the tip on how to
|
| // Redistribution and use in source and binary forms, with or without |
| // modification, are permitted provided that the following conditions are |
| // met: |
| @@ -531,7 +530,7 @@ void RegExpMacroAssemblerIA32::WriteStackPointerToRegister(int reg) { |
| Operand RegExpMacroAssemblerIA32::register_location( |
| int register_index) { |
| ASSERT(register_index < (1<<30)); |
| - return Operand(ebp, -((register_index + 1) * sizeof(uint32_t))); |
| + return Operand(ebp, -(register_index + 1) * sizeof(uint32_t)); |
| } |