| 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 7943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7954 bool CodeGenerator::HasValidEntryRegisters() { | 7954 bool CodeGenerator::HasValidEntryRegisters() { |
| 7955 return (allocator()->count(rax) == (frame()->is_used(rax) ? 1 : 0)) | 7955 return (allocator()->count(rax) == (frame()->is_used(rax) ? 1 : 0)) |
| 7956 && (allocator()->count(rbx) == (frame()->is_used(rbx) ? 1 : 0)) | 7956 && (allocator()->count(rbx) == (frame()->is_used(rbx) ? 1 : 0)) |
| 7957 && (allocator()->count(rcx) == (frame()->is_used(rcx) ? 1 : 0)) | 7957 && (allocator()->count(rcx) == (frame()->is_used(rcx) ? 1 : 0)) |
| 7958 && (allocator()->count(rdx) == (frame()->is_used(rdx) ? 1 : 0)) | 7958 && (allocator()->count(rdx) == (frame()->is_used(rdx) ? 1 : 0)) |
| 7959 && (allocator()->count(rdi) == (frame()->is_used(rdi) ? 1 : 0)) | 7959 && (allocator()->count(rdi) == (frame()->is_used(rdi) ? 1 : 0)) |
| 7960 && (allocator()->count(r8) == (frame()->is_used(r8) ? 1 : 0)) | 7960 && (allocator()->count(r8) == (frame()->is_used(r8) ? 1 : 0)) |
| 7961 && (allocator()->count(r9) == (frame()->is_used(r9) ? 1 : 0)) | 7961 && (allocator()->count(r9) == (frame()->is_used(r9) ? 1 : 0)) |
| 7962 && (allocator()->count(r11) == (frame()->is_used(r11) ? 1 : 0)) | 7962 && (allocator()->count(r11) == (frame()->is_used(r11) ? 1 : 0)) |
| 7963 && (allocator()->count(r14) == (frame()->is_used(r14) ? 1 : 0)) | 7963 && (allocator()->count(r14) == (frame()->is_used(r14) ? 1 : 0)) |
| 7964 && (allocator()->count(r12) == (frame()->is_used(r12) ? 1 : 0)); | 7964 && (allocator()->count(r15) == (frame()->is_used(r15) ? 1 : 0)); |
| 7965 } | 7965 } |
| 7966 #endif | 7966 #endif |
| 7967 | 7967 |
| 7968 | 7968 |
| 7969 | 7969 |
| 7970 // Emit a LoadIC call to get the value from receiver and leave it in | 7970 // Emit a LoadIC call to get the value from receiver and leave it in |
| 7971 // dst. The receiver register is restored after the call. | 7971 // dst. The receiver register is restored after the call. |
| 7972 class DeferredReferenceGetNamedValue: public DeferredCode { | 7972 class DeferredReferenceGetNamedValue: public DeferredCode { |
| 7973 public: | 7973 public: |
| 7974 DeferredReferenceGetNamedValue(Register dst, | 7974 DeferredReferenceGetNamedValue(Register dst, |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8834 } | 8834 } |
| 8835 | 8835 |
| 8836 #endif | 8836 #endif |
| 8837 | 8837 |
| 8838 | 8838 |
| 8839 #undef __ | 8839 #undef __ |
| 8840 | 8840 |
| 8841 } } // namespace v8::internal | 8841 } } // namespace v8::internal |
| 8842 | 8842 |
| 8843 #endif // V8_TARGET_ARCH_X64 | 8843 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |