From: ager@chromium.org Date: Mon, 10 May 2010 17:19:48 +0000 (+0000) Subject: Added Heap:: prefix to kFixedArrayMapRootIndex in ARM X-Git-Tag: upstream/4.7.83~21824 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afdb1dd2bdd0effde2c9a04e631f4dcdc9346efc;p=platform%2Fupstream%2Fv8.git Added Heap:: prefix to kFixedArrayMapRootIndex in ARM codegenerator. The missing scoping breaks the build with some compilers. TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/2036007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4636 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc index de48566..7644f3c 100644 --- a/src/arm/codegen-arm.cc +++ b/src/arm/codegen-arm.cc @@ -8652,7 +8652,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { __ ldr(last_match_info_elements, FieldMemOperand(r0, JSArray::kElementsOffset)); __ ldr(r0, FieldMemOperand(last_match_info_elements, HeapObject::kMapOffset)); - __ LoadRoot(ip, kFixedArrayMapRootIndex); + __ LoadRoot(ip, Heap::kFixedArrayMapRootIndex); __ cmp(r0, ip); __ b(ne, &runtime); // Check that the last match info has space for the capture registers and the