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

Side by Side Diff: src/compiler/arm/code-generator-arm.cc

Issue 1155703006: Revert of Embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « src/assembler.cc ('k') | src/compiler/ppc/code-generator-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 isolate(), deoptimization_id, bailout_type); 919 isolate(), deoptimization_id, bailout_type);
920 __ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); 920 __ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY);
921 } 921 }
922 922
923 923
924 void CodeGenerator::AssemblePrologue() { 924 void CodeGenerator::AssemblePrologue() {
925 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); 925 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor();
926 int stack_slots = frame()->GetSpillSlotCount(); 926 int stack_slots = frame()->GetSpillSlotCount();
927 if (descriptor->kind() == CallDescriptor::kCallAddress) { 927 if (descriptor->kind() == CallDescriptor::kCallAddress) {
928 bool saved_pp; 928 bool saved_pp;
929 if (FLAG_enable_embedded_constant_pool) { 929 if (FLAG_enable_ool_constant_pool) {
930 __ Push(lr, fp, pp); 930 __ Push(lr, fp, pp);
931 // Adjust FP to point to saved FP. 931 // Adjust FP to point to saved FP.
932 __ sub(fp, sp, Operand(StandardFrameConstants::kConstantPoolOffset)); 932 __ sub(fp, sp, Operand(StandardFrameConstants::kConstantPoolOffset));
933 saved_pp = true; 933 saved_pp = true;
934 } else { 934 } else {
935 __ Push(lr, fp); 935 __ Push(lr, fp);
936 __ mov(fp, sp); 936 __ mov(fp, sp);
937 saved_pp = false; 937 saved_pp = false;
938 } 938 }
939 const RegList saves = descriptor->CalleeSavedRegisters(); 939 const RegList saves = descriptor->CalleeSavedRegisters();
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 } 1214 }
1215 } 1215 }
1216 MarkLazyDeoptSite(); 1216 MarkLazyDeoptSite();
1217 } 1217 }
1218 1218
1219 #undef __ 1219 #undef __
1220 1220
1221 } // namespace compiler 1221 } // namespace compiler
1222 } // namespace internal 1222 } // namespace internal
1223 } // namespace v8 1223 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698