Chromium Code Reviews| Index: src/ia32/assembler-ia32.cc |
| =================================================================== |
| --- src/ia32/assembler-ia32.cc (revision 2010) |
| +++ src/ia32/assembler-ia32.cc (working copy) |
| @@ -288,7 +288,7 @@ |
| #endif |
| // spare_buffer_ |
| -static byte* spare_buffer_ = NULL; |
| +byte* Assembler::spare_buffer_ = NULL; |
|
Lasse Reichstein
2009/05/20 12:00:25
I think this one should be static. It's for reusin
William Hesse
2009/05/20 16:14:30
The declaration in the class definition is static.
|
| Assembler::Assembler(void* buffer, int buffer_size) { |
| if (buffer == NULL) { |
| @@ -368,7 +368,7 @@ |
| } |
| -void Assembler::Align(int m) { |
| +void Assembler::Align(intptr_t m) { |
| ASSERT(IsPowerOf2(m)); |
| while ((pc_offset() & (m - 1)) != 0) { |
| nop(); |