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

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

Issue 191233003: Add out-of-line constant pool support to Arm. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix other Arches. Created 6 years, 9 months 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/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.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 4817 matching lines...) Expand 10 before | Expand all | Expand 10 after
4828 4828
4829 4829
4830 static Address GetInterruptImmediateLoadAddress(Address pc) { 4830 static Address GetInterruptImmediateLoadAddress(Address pc) {
4831 Address load_address = pc - 2 * Assembler::kInstrSize; 4831 Address load_address = pc - 2 * Assembler::kInstrSize;
4832 if (!FLAG_enable_ool_constant_pool) { 4832 if (!FLAG_enable_ool_constant_pool) {
4833 ASSERT(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(load_address))); 4833 ASSERT(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(load_address)));
4834 } else if (Assembler::IsMovT(Memory::int32_at(load_address))) { 4834 } else if (Assembler::IsMovT(Memory::int32_at(load_address))) {
4835 load_address -= Assembler::kInstrSize; 4835 load_address -= Assembler::kInstrSize;
4836 ASSERT(Assembler::IsMovW(Memory::int32_at(load_address))); 4836 ASSERT(Assembler::IsMovW(Memory::int32_at(load_address)));
4837 } else { 4837 } else {
4838 // TODO(rmcilroy): uncomment when IsLdrPpImmediateOffset lands. 4838 ASSERT(Assembler::IsLdrPpImmediateOffset(Memory::int32_at(load_address)));
4839 // ASSERT(IsLdrPpImmediateOffset(Memory::int32_at(load_address)));
4840 } 4839 }
4841 return load_address; 4840 return load_address;
4842 } 4841 }
4843 4842
4844 4843
4845 void BackEdgeTable::PatchAt(Code* unoptimized_code, 4844 void BackEdgeTable::PatchAt(Code* unoptimized_code,
4846 Address pc, 4845 Address pc,
4847 BackEdgeState target_state, 4846 BackEdgeState target_state,
4848 Code* replacement_code) { 4847 Code* replacement_code) {
4849 static const int kInstrSize = Assembler::kInstrSize; 4848 static const int kInstrSize = Assembler::kInstrSize;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
4916 4915
4917 ASSERT(interrupt_address == 4916 ASSERT(interrupt_address ==
4918 isolate->builtins()->OsrAfterStackCheck()->entry()); 4917 isolate->builtins()->OsrAfterStackCheck()->entry());
4919 return OSR_AFTER_STACK_CHECK; 4918 return OSR_AFTER_STACK_CHECK;
4920 } 4919 }
4921 4920
4922 4921
4923 } } // namespace v8::internal 4922 } } // namespace v8::internal
4924 4923
4925 #endif // V8_TARGET_ARCH_ARM 4924 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698