| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 } else { | 252 } else { |
| 253 Comment(";;; @%d: %s. <#%d>", current_instruction_, | 253 Comment(";;; @%d: %s. <#%d>", current_instruction_, |
| 254 instr->Mnemonic(), hydrogen->id()); | 254 instr->Mnemonic(), hydrogen->id()); |
| 255 } | 255 } |
| 256 } else { | 256 } else { |
| 257 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); | 257 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); |
| 258 } | 258 } |
| 259 } | 259 } |
| 260 instr->CompileToNative(this); | 260 instr->CompileToNative(this); |
| 261 } | 261 } |
| 262 |
| 263 if (instr->HasPointerMap()) { |
| 264 LPointerMap* pointers = instr->pointer_map(); |
| 265 if (pointers->position() != RelocInfo::kNoPosition) { |
| 266 RecordPosition(pointers->position()); |
| 267 } |
| 268 } |
| 262 } | 269 } |
| 263 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size()); | 270 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size()); |
| 264 return !is_aborted(); | 271 return !is_aborted(); |
| 265 } | 272 } |
| 266 | 273 |
| 267 | 274 |
| 268 bool LCodeGen::GenerateJumpTable() { | 275 bool LCodeGen::GenerateJumpTable() { |
| 269 for (int i = 0; i < jump_table_.length(); i++) { | 276 for (int i = 0; i < jump_table_.length(); i++) { |
| 270 __ bind(&jump_table_[i].label); | 277 __ bind(&jump_table_[i].label); |
| 271 __ Jump(jump_table_[i].address, RelocInfo::RUNTIME_ENTRY); | 278 __ Jump(jump_table_[i].address, RelocInfo::RUNTIME_ENTRY); |
| (...skipping 5152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5424 FixedArray::kHeaderSize - kPointerSize)); | 5431 FixedArray::kHeaderSize - kPointerSize)); |
| 5425 __ bind(&done); | 5432 __ bind(&done); |
| 5426 } | 5433 } |
| 5427 | 5434 |
| 5428 | 5435 |
| 5429 #undef __ | 5436 #undef __ |
| 5430 | 5437 |
| 5431 } } // namespace v8::internal | 5438 } } // namespace v8::internal |
| 5432 | 5439 |
| 5433 #endif // V8_TARGET_ARCH_X64 | 5440 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |