It should be very easy. Both assemblers have the
function WriteRecordedPositions, which emits the current position
information into the relocation information provided it did not change from
when WriteRecordedPositions was called the last time. On
Intel WriteRecordedPositions is called when a call
How much work would be involved in having ARM and IA32 assemblers match
when relocation info is generated?
-Ivan
http://codereview.chromium.org/14170/diff/1/9
File src/assembler-ia32.cc (right):
http://codereview.chromium.org/14170/diff/1/9#newcode1993
Line 1993: ASSERT(pos != RelocInfo::kNoPos
http://codereview.chromium.org/14170/diff/1/9
File src/assembler-ia32.cc (right):
http://codereview.chromium.org/14170/diff/1/9#newcode1993
Line 1993: ASSERT(pos != RelocInfo::kNoPosition);
On 2008/12/17 07:45:35, Mads Ager wrote:
> In the ARM code, RecordPosition and RecordStatementPosition cal
LGTM
http://codereview.chromium.org/14170/diff/1/9
File src/assembler-ia32.cc (right):
http://codereview.chromium.org/14170/diff/1/9#newcode1993
Line 1993: ASSERT(pos != RelocInfo::kNoPosition);
In the ARM code, RecordPosition and RecordStatementPosition called
WriteRecordedPositions. Why is t