From: fschneider@chromium.org Date: Thu, 7 Jan 2010 11:38:43 +0000 (+0000) Subject: Fix x64 and arm build. X-Git-Tag: upstream/4.7.83~22743 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=714dfeaece4367e82517b96a55b7a949a8954a55;p=platform%2Fupstream%2Fv8.git Fix x64 and arm build. Review URL: http://codereview.chromium.org/524058 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3557 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc index b57aa93..a1f2613 100644 --- a/src/arm/ic-arm.cc +++ b/src/arm/ic-arm.cc @@ -618,6 +618,15 @@ void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { } +void KeyedLoadIC::GenerateString(MacroAssembler* masm) { + // ---------- S t a t e -------------- + // -- lr : return address + // -- sp[0] : key + // -- sp[4] : receiver + GenerateGeneric(masm); +} + + void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm, ExternalArrayType array_type) { // TODO(476): port specialized code. diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc index e240075..edcac2b 100644 --- a/src/x64/ic-x64.cc +++ b/src/x64/ic-x64.cc @@ -408,6 +408,16 @@ void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { } +void KeyedLoadIC::GenerateString(MacroAssembler* masm) { + // ----------- S t a t e ------------- + // -- rsp[0] : return address + // -- rsp[8] : name + // -- rsp[16] : receiver + // ----------------------------------- + GenerateGeneric(masm); +} + + void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm, ExternalArrayType array_type) { // ----------- S t a t e -------------