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

Side by Side Diff: src/mips/full-codegen-mips.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 | « src/arm/full-codegen-arm.cc ('k') | no next file » | 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 1780 matching lines...) Expand 10 before | Expand all | Expand 10 after
1791 ASSERT_EQ(2, constant_elements->length()); 1791 ASSERT_EQ(2, constant_elements->length());
1792 ElementsKind constant_elements_kind = 1792 ElementsKind constant_elements_kind =
1793 static_cast<ElementsKind>(Smi::cast(constant_elements->get(0))->value()); 1793 static_cast<ElementsKind>(Smi::cast(constant_elements->get(0))->value());
1794 bool has_fast_elements = 1794 bool has_fast_elements =
1795 IsFastObjectElementsKind(constant_elements_kind); 1795 IsFastObjectElementsKind(constant_elements_kind);
1796 Handle<FixedArrayBase> constant_elements_values( 1796 Handle<FixedArrayBase> constant_elements_values(
1797 FixedArrayBase::cast(constant_elements->get(1))); 1797 FixedArrayBase::cast(constant_elements->get(1)));
1798 1798
1799 AllocationSiteMode allocation_site_mode = FLAG_track_allocation_sites 1799 AllocationSiteMode allocation_site_mode = FLAG_track_allocation_sites
1800 ? TRACK_ALLOCATION_SITE : DONT_TRACK_ALLOCATION_SITE; 1800 ? TRACK_ALLOCATION_SITE : DONT_TRACK_ALLOCATION_SITE;
1801 if (has_constant_fast_elements && !FLAG_allocation_site_pretenuring) { 1801 if (has_fast_elements && !FLAG_allocation_site_pretenuring) {
1802 // If the only customer of allocation sites is transitioning, then 1802 // If the only customer of allocation sites is transitioning, then
1803 // we can turn it off if we don't have anywhere else to transition to. 1803 // we can turn it off if we don't have anywhere else to transition to.
1804 allocation_site_mode = DONT_TRACK_ALLOCATION_SITE; 1804 allocation_site_mode = DONT_TRACK_ALLOCATION_SITE;
1805 } 1805 }
1806 1806
1807 __ mov(a0, result_register()); 1807 __ mov(a0, result_register());
1808 __ lw(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 1808 __ lw(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
1809 __ lw(a3, FieldMemOperand(a3, JSFunction::kLiteralsOffset)); 1809 __ lw(a3, FieldMemOperand(a3, JSFunction::kLiteralsOffset));
1810 __ li(a2, Operand(Smi::FromInt(expr->literal_index()))); 1810 __ li(a2, Operand(Smi::FromInt(expr->literal_index())));
1811 __ li(a1, Operand(constant_elements)); 1811 __ li(a1, Operand(constant_elements));
(...skipping 3163 matching lines...) Expand 10 before | Expand all | Expand 10 after
4975 Assembler::target_address_at(pc_immediate_load_address)) == 4975 Assembler::target_address_at(pc_immediate_load_address)) ==
4976 reinterpret_cast<uint32_t>( 4976 reinterpret_cast<uint32_t>(
4977 isolate->builtins()->OsrAfterStackCheck()->entry())); 4977 isolate->builtins()->OsrAfterStackCheck()->entry()));
4978 return OSR_AFTER_STACK_CHECK; 4978 return OSR_AFTER_STACK_CHECK;
4979 } 4979 }
4980 4980
4981 4981
4982 } } // namespace v8::internal 4982 } } // namespace v8::internal
4983 4983
4984 #endif // V8_TARGET_ARCH_MIPS 4984 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698