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

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

Issue 777243002: When generating code for ia32, make sure that there is enough reloc space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 // instruction for patching the code here. 1200 // instruction for patching the code here.
1201 int current_pc = masm()->pc_offset(); 1201 int current_pc = masm()->pc_offset();
1202 if (current_pc < last_lazy_deopt_pc_ + space_needed) { 1202 if (current_pc < last_lazy_deopt_pc_ + space_needed) {
1203 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 1203 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
1204 __ Nop(padding_size); 1204 __ Nop(padding_size);
1205 } 1205 }
1206 } 1206 }
1207 MarkLazyDeoptSite(); 1207 MarkLazyDeoptSite();
1208 } 1208 }
1209 1209
1210
1211 void CodeGenerator::EnsureRelocSpaceForLazyDeopt(Handle<Code> code) {}
1212
1210 #undef __ 1213 #undef __
1211 1214
1212 } // namespace internal 1215 } // namespace internal
1213 } // namespace compiler 1216 } // namespace compiler
1214 } // namespace v8 1217 } // namespace v8
OLDNEW
« src/compiler/code-generator.cc ('K') | « src/compiler/mips64/code-generator-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698