| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 break; | 1892 break; |
| 1893 } | 1893 } |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 | 1896 |
| 1897 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { | 1897 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
| 1898 ASSERT(ToRegister(instr->left()).is(rdx)); | 1898 ASSERT(ToRegister(instr->left()).is(rdx)); |
| 1899 ASSERT(ToRegister(instr->right()).is(rax)); | 1899 ASSERT(ToRegister(instr->right()).is(rax)); |
| 1900 ASSERT(ToRegister(instr->result()).is(rax)); | 1900 ASSERT(ToRegister(instr->result()).is(rax)); |
| 1901 | 1901 |
| 1902 BinaryOpStub stub(instr->op(), NO_OVERWRITE); | 1902 BinaryOpStub stub(instr->op()); |
| 1903 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 1903 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
| 1904 __ nop(); // Signals no inlined code. | 1904 __ nop(); // Signals no inlined code. |
| 1905 } | 1905 } |
| 1906 | 1906 |
| 1907 | 1907 |
| 1908 int LCodeGen::GetNextEmittedBlock() const { | 1908 int LCodeGen::GetNextEmittedBlock() const { |
| 1909 for (int i = current_block_ + 1; i < graph()->blocks()->length(); ++i) { | 1909 for (int i = current_block_ + 1; i < graph()->blocks()->length(); ++i) { |
| 1910 if (!chunk_->GetLabel(i)->HasReplacement()) return i; | 1910 if (!chunk_->GetLabel(i)->HasReplacement()) return i; |
| 1911 } | 1911 } |
| 1912 return -1; | 1912 return -1; |
| (...skipping 3584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5497 FixedArray::kHeaderSize - kPointerSize)); | 5497 FixedArray::kHeaderSize - kPointerSize)); |
| 5498 __ bind(&done); | 5498 __ bind(&done); |
| 5499 } | 5499 } |
| 5500 | 5500 |
| 5501 | 5501 |
| 5502 #undef __ | 5502 #undef __ |
| 5503 | 5503 |
| 5504 } } // namespace v8::internal | 5504 } } // namespace v8::internal |
| 5505 | 5505 |
| 5506 #endif // V8_TARGET_ARCH_X64 | 5506 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |