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

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

Issue 1577193003: Change the CompilationInfo::IsCodePreAgingActive() predicate to CompilationInfo::GeneratePreagingPr… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment cleanup. Created 4 years, 11 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/compiler.h ('k') | src/compiler/arm64/code-generator-arm64.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/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 if (descriptor->IsCFunctionCall()) { 1072 if (descriptor->IsCFunctionCall()) {
1073 if (FLAG_enable_embedded_constant_pool) { 1073 if (FLAG_enable_embedded_constant_pool) {
1074 __ Push(lr, fp, pp); 1074 __ Push(lr, fp, pp);
1075 // Adjust FP to point to saved FP. 1075 // Adjust FP to point to saved FP.
1076 __ sub(fp, sp, Operand(StandardFrameConstants::kConstantPoolOffset)); 1076 __ sub(fp, sp, Operand(StandardFrameConstants::kConstantPoolOffset));
1077 } else { 1077 } else {
1078 __ Push(lr, fp); 1078 __ Push(lr, fp);
1079 __ mov(fp, sp); 1079 __ mov(fp, sp);
1080 } 1080 }
1081 } else if (descriptor->IsJSFunctionCall()) { 1081 } else if (descriptor->IsJSFunctionCall()) {
1082 CompilationInfo* info = this->info(); 1082 __ Prologue(this->info()->GeneratePreagedPrologue());
1083 __ Prologue(info->IsCodePreAgingActive());
1084 } else if (frame()->needs_frame()) { 1083 } else if (frame()->needs_frame()) {
1085 __ StubPrologue(); 1084 __ StubPrologue();
1086 } else { 1085 } else {
1087 frame()->SetElidedFrameSizeInSlots(0); 1086 frame()->SetElidedFrameSizeInSlots(0);
1088 } 1087 }
1089 frame_access_state()->SetFrameAccessToDefault(); 1088 frame_access_state()->SetFrameAccessToDefault();
1090 1089
1091 int stack_shrink_slots = frame()->GetSpillSlotCount(); 1090 int stack_shrink_slots = frame()->GetSpillSlotCount();
1092 if (info()->is_osr()) { 1091 if (info()->is_osr()) {
1093 // TurboFan OSR-compiled functions cannot be entered directly. 1092 // TurboFan OSR-compiled functions cannot be entered directly.
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 padding_size -= v8::internal::Assembler::kInstrSize; 1377 padding_size -= v8::internal::Assembler::kInstrSize;
1379 } 1378 }
1380 } 1379 }
1381 } 1380 }
1382 1381
1383 #undef __ 1382 #undef __
1384 1383
1385 } // namespace compiler 1384 } // namespace compiler
1386 } // namespace internal 1385 } // namespace internal
1387 } // namespace v8 1386 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.h ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698