DescriptionARM: Clean up FlushICache.
In theory, the Thumb version of FlushICache doesn't have to be any
different from the ARM version: There is no need to switch to ARM mode
for the svc, and r7 can be used just like any other register.
In practice, GCC uses r7 as a frame pointer in Thumb code, and it
refuses to allow it be used in inline assembly. To avoid complicated
checks to determine whether or not it is possible to use it directly,
the FlushICache function explicitly preserves r7.
R=ulan@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21949
Patch Set 1 #
Total comments: 2
Patch Set 2 : Avoid __attribute__((naked)). #
Total comments: 1
Patch Set 3 : Remove "cc". #Messages
Total messages: 9 (0 generated)
|