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

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

Issue 1186353003: [turbofan] Fix overzealous reserving of lazy deopt space. (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/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/mips64/code-generator-mips64.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 #include "src/compiler/code-generator-impl.h" 6 #include "src/compiler/code-generator-impl.h"
7 #include "src/compiler/gap-resolver.h" 7 #include "src/compiler/gap-resolver.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/mips/macro-assembler-mips.h" 9 #include "src/mips/macro-assembler-mips.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 v8::internal::Assembler::BlockTrampolinePoolScope block_trampoline_pool( 1334 v8::internal::Assembler::BlockTrampolinePoolScope block_trampoline_pool(
1335 masm()); 1335 masm());
1336 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 1336 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
1337 DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); 1337 DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize);
1338 while (padding_size > 0) { 1338 while (padding_size > 0) {
1339 __ nop(); 1339 __ nop();
1340 padding_size -= v8::internal::Assembler::kInstrSize; 1340 padding_size -= v8::internal::Assembler::kInstrSize;
1341 } 1341 }
1342 } 1342 }
1343 } 1343 }
1344 MarkLazyDeoptSite();
1345 } 1344 }
1346 1345
1347 #undef __ 1346 #undef __
1348 1347
1349 } // namespace compiler 1348 } // namespace compiler
1350 } // namespace internal 1349 } // namespace internal
1351 } // namespace v8 1350 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698