Chromium Code Reviews| Index: runtime/vm/find_code_object_test.cc |
| =================================================================== |
| --- runtime/vm/find_code_object_test.cc (revision 30557) |
| +++ runtime/vm/find_code_object_test.cc (working copy) |
| @@ -144,9 +144,9 @@ |
| pc = code.EntryPoint() + 16; |
| #if defined(TARGET_ARCH_MIPS) |
|
Ivan Posva
2013/11/22 00:42:09
@zra: Is this ifdef still needed? The comment seem
zra
2013/11/22 21:36:33
It isn't needed. Removing in https://codereview.ch
|
| // MIPS can only Branch +/- 128KB |
| - EXPECT(code.Size() > (PageSpace::kPageSize / 2)); |
| + EXPECT(code.Size() > ((PageSpace::kPageSizeInWords << kWordSizeLog2) / 2)); |
| EXPECT(Code::LookupCode(pc) == code.raw()); |
| - pc = code.EntryPoint() + (PageSpace::kPageSize / 4); |
| + pc = code.EntryPoint() + ((PageSpace::kPageSizeInWords << kWordSizeLog2) / 4); |
| EXPECT(Code::LookupCode(pc) == code.raw()); |
| #else |
| EXPECT(code.Size() > (PageSpace::kPageSizeInWords << kWordSizeLog2)); |