| 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 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1306 } | 1306 } |
| 1307 | 1307 |
| 1308 | 1308 |
| 1309 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { | 1309 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
| 1310 ASSERT(ToRegister(instr->InputAt(0)).is(rdx)); | 1310 ASSERT(ToRegister(instr->InputAt(0)).is(rdx)); |
| 1311 ASSERT(ToRegister(instr->InputAt(1)).is(rax)); | 1311 ASSERT(ToRegister(instr->InputAt(1)).is(rax)); |
| 1312 ASSERT(ToRegister(instr->result()).is(rax)); | 1312 ASSERT(ToRegister(instr->result()).is(rax)); |
| 1313 | 1313 |
| 1314 BinaryOpStub stub(instr->op(), NO_OVERWRITE); | 1314 BinaryOpStub stub(instr->op(), NO_OVERWRITE); |
| 1315 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 1315 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 1316 __ nop(); // Signals no inlined code. |
| 1316 } | 1317 } |
| 1317 | 1318 |
| 1318 | 1319 |
| 1319 int LCodeGen::GetNextEmittedBlock(int block) { | 1320 int LCodeGen::GetNextEmittedBlock(int block) { |
| 1320 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { | 1321 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { |
| 1321 LLabel* label = chunk_->GetLabel(i); | 1322 LLabel* label = chunk_->GetLabel(i); |
| 1322 if (!label->HasReplacement()) return i; | 1323 if (!label->HasReplacement()) return i; |
| 1323 } | 1324 } |
| 1324 return -1; | 1325 return -1; |
| 1325 } | 1326 } |
| (...skipping 2947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4273 RegisterEnvironmentForDeoptimization(environment); | 4274 RegisterEnvironmentForDeoptimization(environment); |
| 4274 ASSERT(osr_pc_offset_ == -1); | 4275 ASSERT(osr_pc_offset_ == -1); |
| 4275 osr_pc_offset_ = masm()->pc_offset(); | 4276 osr_pc_offset_ = masm()->pc_offset(); |
| 4276 } | 4277 } |
| 4277 | 4278 |
| 4278 #undef __ | 4279 #undef __ |
| 4279 | 4280 |
| 4280 } } // namespace v8::internal | 4281 } } // namespace v8::internal |
| 4281 | 4282 |
| 4282 #endif // V8_TARGET_ARCH_X64 | 4283 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |