| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 } | 272 } |
| 273 | 273 |
| 274 // Reserve some space to ensure that the last piece of deferred code | 274 // Reserve some space to ensure that the last piece of deferred code |
| 275 // have room for lazy bailout. | 275 // have room for lazy bailout. |
| 276 __ nop(); | 276 __ nop(); |
| 277 __ nop(); | 277 __ nop(); |
| 278 | 278 |
| 279 int code_generated = | 279 int code_generated = |
| 280 masm_->InstructionsGeneratedSince(&last_jump) * Assembler::kInstrSize; | 280 masm_->InstructionsGeneratedSince(&last_jump) * Assembler::kInstrSize; |
| 281 ASSERT(Deoptimizer::patch_size() <= code_generated); | 281 ASSERT(Deoptimizer::patch_size() <= code_generated); |
| 282 USE(code_generated); |
| 282 } | 283 } |
| 283 | 284 |
| 284 // Force constant pool emission at the end of the deferred code to make | 285 // Force constant pool emission at the end of the deferred code to make |
| 285 // sure that no constant pools are emitted after. | 286 // sure that no constant pools are emitted after. |
| 286 masm()->CheckConstPool(true, false); | 287 masm()->CheckConstPool(true, false); |
| 287 | 288 |
| 288 return !is_aborted(); | 289 return !is_aborted(); |
| 289 } | 290 } |
| 290 | 291 |
| 291 | 292 |
| (...skipping 4108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4400 ASSERT(osr_pc_offset_ == -1); | 4401 ASSERT(osr_pc_offset_ == -1); |
| 4401 osr_pc_offset_ = masm()->pc_offset(); | 4402 osr_pc_offset_ = masm()->pc_offset(); |
| 4402 } | 4403 } |
| 4403 | 4404 |
| 4404 | 4405 |
| 4405 | 4406 |
| 4406 | 4407 |
| 4407 #undef __ | 4408 #undef __ |
| 4408 | 4409 |
| 4409 } } // namespace v8::internal | 4410 } } // namespace v8::internal |
| OLD | NEW |