Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/x64/codegen-x64.cc

Issue 6683022: [Isolates] Merge 7111:7152 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7944 matching lines...) Expand 10 before | Expand all | Expand 10 after
7955 bool CodeGenerator::HasValidEntryRegisters() { 7955 bool CodeGenerator::HasValidEntryRegisters() {
7956 return (allocator()->count(rax) == (frame()->is_used(rax) ? 1 : 0)) 7956 return (allocator()->count(rax) == (frame()->is_used(rax) ? 1 : 0))
7957 && (allocator()->count(rbx) == (frame()->is_used(rbx) ? 1 : 0)) 7957 && (allocator()->count(rbx) == (frame()->is_used(rbx) ? 1 : 0))
7958 && (allocator()->count(rcx) == (frame()->is_used(rcx) ? 1 : 0)) 7958 && (allocator()->count(rcx) == (frame()->is_used(rcx) ? 1 : 0))
7959 && (allocator()->count(rdx) == (frame()->is_used(rdx) ? 1 : 0)) 7959 && (allocator()->count(rdx) == (frame()->is_used(rdx) ? 1 : 0))
7960 && (allocator()->count(rdi) == (frame()->is_used(rdi) ? 1 : 0)) 7960 && (allocator()->count(rdi) == (frame()->is_used(rdi) ? 1 : 0))
7961 && (allocator()->count(r8) == (frame()->is_used(r8) ? 1 : 0)) 7961 && (allocator()->count(r8) == (frame()->is_used(r8) ? 1 : 0))
7962 && (allocator()->count(r9) == (frame()->is_used(r9) ? 1 : 0)) 7962 && (allocator()->count(r9) == (frame()->is_used(r9) ? 1 : 0))
7963 && (allocator()->count(r11) == (frame()->is_used(r11) ? 1 : 0)) 7963 && (allocator()->count(r11) == (frame()->is_used(r11) ? 1 : 0))
7964 && (allocator()->count(r14) == (frame()->is_used(r14) ? 1 : 0)) 7964 && (allocator()->count(r14) == (frame()->is_used(r14) ? 1 : 0))
7965 && (allocator()->count(r12) == (frame()->is_used(r12) ? 1 : 0)); 7965 && (allocator()->count(r15) == (frame()->is_used(r15) ? 1 : 0));
7966 } 7966 }
7967 #endif 7967 #endif
7968 7968
7969 7969
7970 7970
7971 // Emit a LoadIC call to get the value from receiver and leave it in 7971 // Emit a LoadIC call to get the value from receiver and leave it in
7972 // dst. The receiver register is restored after the call. 7972 // dst. The receiver register is restored after the call.
7973 class DeferredReferenceGetNamedValue: public DeferredCode { 7973 class DeferredReferenceGetNamedValue: public DeferredCode {
7974 public: 7974 public:
7975 DeferredReferenceGetNamedValue(Register dst, 7975 DeferredReferenceGetNamedValue(Register dst,
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
8837 } 8837 }
8838 8838
8839 #endif 8839 #endif
8840 8840
8841 8841
8842 #undef __ 8842 #undef __
8843 8843
8844 } } // namespace v8::internal 8844 } } // namespace v8::internal
8845 8845
8846 #endif // V8_TARGET_ARCH_X64 8846 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698