Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: src/arm/full-codegen-arm.cc

Issue 91583002: ARM/MIPS compilation error. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 Handle<FixedArray> constant_elements = expr->constant_elements(); 1779 Handle<FixedArray> constant_elements = expr->constant_elements();
1780 ASSERT_EQ(2, constant_elements->length()); 1780 ASSERT_EQ(2, constant_elements->length());
1781 ElementsKind constant_elements_kind = 1781 ElementsKind constant_elements_kind =
1782 static_cast<ElementsKind>(Smi::cast(constant_elements->get(0))->value()); 1782 static_cast<ElementsKind>(Smi::cast(constant_elements->get(0))->value());
1783 bool has_fast_elements = IsFastObjectElementsKind(constant_elements_kind); 1783 bool has_fast_elements = IsFastObjectElementsKind(constant_elements_kind);
1784 Handle<FixedArrayBase> constant_elements_values( 1784 Handle<FixedArrayBase> constant_elements_values(
1785 FixedArrayBase::cast(constant_elements->get(1))); 1785 FixedArrayBase::cast(constant_elements->get(1)));
1786 1786
1787 AllocationSiteMode allocation_site_mode = FLAG_track_allocation_sites 1787 AllocationSiteMode allocation_site_mode = FLAG_track_allocation_sites
1788 ? TRACK_ALLOCATION_SITE : DONT_TRACK_ALLOCATION_SITE; 1788 ? TRACK_ALLOCATION_SITE : DONT_TRACK_ALLOCATION_SITE;
1789 if (has_constant_fast_elements && !FLAG_allocation_site_pretenuring) { 1789 if (has_fast_elements && !FLAG_allocation_site_pretenuring) {
1790 // If the only customer of allocation sites is transitioning, then 1790 // If the only customer of allocation sites is transitioning, then
1791 // we can turn it off if we don't have anywhere else to transition to. 1791 // we can turn it off if we don't have anywhere else to transition to.
1792 allocation_site_mode = DONT_TRACK_ALLOCATION_SITE; 1792 allocation_site_mode = DONT_TRACK_ALLOCATION_SITE;
1793 } 1793 }
1794 1794
1795 __ ldr(r3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 1795 __ ldr(r3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
1796 __ ldr(r3, FieldMemOperand(r3, JSFunction::kLiteralsOffset)); 1796 __ ldr(r3, FieldMemOperand(r3, JSFunction::kLiteralsOffset));
1797 __ mov(r2, Operand(Smi::FromInt(expr->literal_index()))); 1797 __ mov(r2, Operand(Smi::FromInt(expr->literal_index())));
1798 __ mov(r1, Operand(constant_elements)); 1798 __ mov(r1, Operand(constant_elements));
1799 if (has_fast_elements && constant_elements_values->map() == 1799 if (has_fast_elements && constant_elements_values->map() ==
(...skipping 3129 matching lines...) Expand 10 before | Expand all | Expand 10 after
4929 ASSERT(Memory::uint32_at(interrupt_address_pointer) == 4929 ASSERT(Memory::uint32_at(interrupt_address_pointer) ==
4930 reinterpret_cast<uint32_t>( 4930 reinterpret_cast<uint32_t>(
4931 isolate->builtins()->OsrAfterStackCheck()->entry())); 4931 isolate->builtins()->OsrAfterStackCheck()->entry()));
4932 return OSR_AFTER_STACK_CHECK; 4932 return OSR_AFTER_STACK_CHECK;
4933 } 4933 }
4934 4934
4935 4935
4936 } } // namespace v8::internal 4936 } } // namespace v8::internal
4937 4937
4938 #endif // V8_TARGET_ARCH_ARM 4938 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698