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

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

Issue 203443003: A64: Force emission of the veneer pool emission when required. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/a64/assembler-a64-inl.h ('k') | src/a64/lithium-codegen-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 ASSERT(loop_depth() == 0); 307 ASSERT(loop_depth() == 0);
308 } 308 }
309 309
310 // Always emit a 'return undefined' in case control fell off the end of 310 // Always emit a 'return undefined' in case control fell off the end of
311 // the body. 311 // the body.
312 { Comment cmnt(masm_, "[ return <undefined>;"); 312 { Comment cmnt(masm_, "[ return <undefined>;");
313 __ LoadRoot(x0, Heap::kUndefinedValueRootIndex); 313 __ LoadRoot(x0, Heap::kUndefinedValueRootIndex);
314 } 314 }
315 EmitReturnSequence(); 315 EmitReturnSequence();
316 316
317 // Force emit the constant pool, so it doesn't get emitted in the middle 317 // Force emission of the pools, so they don't get emitted in the middle
318 // of the back edge table. 318 // of the back edge table.
319 masm()->CheckVeneerPool(true, false);
319 masm()->CheckConstPool(true, false); 320 masm()->CheckConstPool(true, false);
320 } 321 }
321 322
322 323
323 void FullCodeGenerator::ClearAccumulator() { 324 void FullCodeGenerator::ClearAccumulator() {
324 __ Mov(x0, Operand(Smi::FromInt(0))); 325 __ Mov(x0, Operand(Smi::FromInt(0)));
325 } 326 }
326 327
327 328
328 void FullCodeGenerator::EmitProfilingCounterDecrement(int delta) { 329 void FullCodeGenerator::EmitProfilingCounterDecrement(int delta) {
(...skipping 4650 matching lines...) Expand 10 before | Expand all | Expand 10 after
4979 return previous_; 4980 return previous_;
4980 } 4981 }
4981 4982
4982 4983
4983 #undef __ 4984 #undef __
4984 4985
4985 4986
4986 } } // namespace v8::internal 4987 } } // namespace v8::internal
4987 4988
4988 #endif // V8_TARGET_ARCH_A64 4989 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/assembler-a64-inl.h ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698