OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |