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 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 } | 1334 } |
1335 | 1335 |
1336 | 1336 |
1337 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { | 1337 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
1338 ASSERT(ToRegister(instr->InputAt(0)).is(rdx)); | 1338 ASSERT(ToRegister(instr->InputAt(0)).is(rdx)); |
1339 ASSERT(ToRegister(instr->InputAt(1)).is(rax)); | 1339 ASSERT(ToRegister(instr->InputAt(1)).is(rax)); |
1340 ASSERT(ToRegister(instr->result()).is(rax)); | 1340 ASSERT(ToRegister(instr->result()).is(rax)); |
1341 | 1341 |
1342 BinaryOpStub stub(instr->op(), NO_OVERWRITE); | 1342 BinaryOpStub stub(instr->op(), NO_OVERWRITE); |
1343 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 1343 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 1344 __ nop(); // Signals no inlined code. |
1344 } | 1345 } |
1345 | 1346 |
1346 | 1347 |
1347 int LCodeGen::GetNextEmittedBlock(int block) { | 1348 int LCodeGen::GetNextEmittedBlock(int block) { |
1348 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { | 1349 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { |
1349 LLabel* label = chunk_->GetLabel(i); | 1350 LLabel* label = chunk_->GetLabel(i); |
1350 if (!label->HasReplacement()) return i; | 1351 if (!label->HasReplacement()) return i; |
1351 } | 1352 } |
1352 return -1; | 1353 return -1; |
1353 } | 1354 } |
(...skipping 2705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4059 RegisterEnvironmentForDeoptimization(environment); | 4060 RegisterEnvironmentForDeoptimization(environment); |
4060 ASSERT(osr_pc_offset_ == -1); | 4061 ASSERT(osr_pc_offset_ == -1); |
4061 osr_pc_offset_ = masm()->pc_offset(); | 4062 osr_pc_offset_ = masm()->pc_offset(); |
4062 } | 4063 } |
4063 | 4064 |
4064 #undef __ | 4065 #undef __ |
4065 | 4066 |
4066 } } // namespace v8::internal | 4067 } } // namespace v8::internal |
4067 | 4068 |
4068 #endif // V8_TARGET_ARCH_X64 | 4069 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |