Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 313 } else { | 313 } else { |
| 314 Comment(";;; @%d: %s. <#%d>", current_instruction_, | 314 Comment(";;; @%d: %s. <#%d>", current_instruction_, |
| 315 instr->Mnemonic(), hydrogen->id()); | 315 instr->Mnemonic(), hydrogen->id()); |
| 316 } | 316 } |
| 317 } else { | 317 } else { |
| 318 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); | 318 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); |
| 319 } | 319 } |
| 320 } | 320 } |
| 321 instr->CompileToNative(this); | 321 instr->CompileToNative(this); |
| 322 } | 322 } |
| 323 | |
| 324 if (instr->HasPointerMap()) { | |
|
danno
2012/12/20 16:27:20
Why do you need to add this? I would think that th
| |
| 325 LPointerMap* pointers = instr->pointer_map(); | |
| 326 if (pointers->position() != RelocInfo::kNoPosition) { | |
| 327 RecordPosition(pointers->position()); | |
| 328 } | |
| 329 } | |
| 323 } | 330 } |
| 324 EnsureSpaceForLazyDeopt(); | 331 EnsureSpaceForLazyDeopt(); |
| 325 return !is_aborted(); | 332 return !is_aborted(); |
| 326 } | 333 } |
| 327 | 334 |
| 328 | 335 |
| 329 bool LCodeGen::GenerateDeferredCode() { | 336 bool LCodeGen::GenerateDeferredCode() { |
| 330 ASSERT(is_generating()); | 337 ASSERT(is_generating()); |
| 331 if (deferred_.length() > 0) { | 338 if (deferred_.length() > 0) { |
| 332 for (int i = 0; !is_aborted() && i < deferred_.length(); i++) { | 339 for (int i = 0; !is_aborted() && i < deferred_.length(); i++) { |
| (...skipping 5325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5658 FixedArray::kHeaderSize - kPointerSize)); | 5665 FixedArray::kHeaderSize - kPointerSize)); |
| 5659 __ bind(&done); | 5666 __ bind(&done); |
| 5660 } | 5667 } |
| 5661 | 5668 |
| 5662 | 5669 |
| 5663 #undef __ | 5670 #undef __ |
| 5664 | 5671 |
| 5665 } } // namespace v8::internal | 5672 } } // namespace v8::internal |
| 5666 | 5673 |
| 5667 #endif // V8_TARGET_ARCH_IA32 | 5674 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |