Mercurial > hg > truffle
comparison src/cpu/x86/vm/assembler_x86_32.hpp @ 344:6aae2f9d0294
Merge
author | ysr |
---|---|
date | Thu, 12 Jun 2008 13:50:55 -0700 |
parents | 37f87013dfd8 7793bd37a336 |
children | 1ee8caae33af |
comparison
equal
deleted
inserted
replaced
342:37f87013dfd8 | 344:6aae2f9d0294 |
---|---|
1055 // If the accessed location is M[reg + offset] and the offset is known, provide the | 1055 // If the accessed location is M[reg + offset] and the offset is known, provide the |
1056 // offset. No explicit code generation is needed if the offset is within a certain | 1056 // offset. No explicit code generation is needed if the offset is within a certain |
1057 // range (0 <= offset <= page_size). | 1057 // range (0 <= offset <= page_size). |
1058 | 1058 |
1059 void null_check(Register reg, int offset = -1); | 1059 void null_check(Register reg, int offset = -1); |
1060 static bool needs_explicit_null_check(int offset); | 1060 static bool needs_explicit_null_check(intptr_t offset); |
1061 | 1061 |
1062 // Required platform-specific helpers for Label::patch_instructions. | 1062 // Required platform-specific helpers for Label::patch_instructions. |
1063 // They _shadow_ the declarations in AbstractAssembler, which are undefined. | 1063 // They _shadow_ the declarations in AbstractAssembler, which are undefined. |
1064 void pd_patch_instruction(address branch, address target); | 1064 void pd_patch_instruction(address branch, address target); |
1065 #ifndef PRODUCT | 1065 #ifndef PRODUCT |