LLInt should not use d8 register as scratch register
authorSangGyu Lee <sg5.lee@samsung.com>
Fri, 12 Apr 2013 04:51:12 +0000 (13:51 +0900)
committerSangGyu Lee <sg5.lee@samsung.com>
Fri, 12 Apr 2013 05:13:19 +0000 (14:13 +0900)
commit2bef1ec4af205acc0e001f089a198cd93412d541
treef3cd0f535211b86c021752ddd59136e9256d3f60
parent7e9ba6264d512cfe2b55e097ac998d5f0c6d805b
LLInt should not use d8 register as scratch register

[Issue#]  N_SE-29275
[Problem] WebApp exits if javascript alert popup shows while softkeyboard is shown
[Cause]   LLInt (Low Level Interpreter) overwrite d8 register, which was allocated to other variable.
[Solution]
  LLInt should use d8 as scratch.
  d8 register must be preserved according to ARM Procedure Call
  Standard ยง5.1.2.1 VFP register usage conventions.
  Instead, use d6 register, it is defined as scratch register in APCS.

Change-Id: I257dc891975d9e1df0dd896417150de57cde9a12
Source/JavaScriptCore/offlineasm/armv7.rb
Source/JavaScriptCore/offlineasm/cloop.rb