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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 6793040: Remove unused last_pc_ in AssemblerX64. (Closed)
Patch Set: Created 9 years, 8 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
« no previous file with comments | « src/x64/assembler-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 2943 matching lines...) Expand 10 before | Expand all | Expand 10 after
2954 GenerateConvertHashCodeToIndex(masm, scratch, mask); 2954 GenerateConvertHashCodeToIndex(masm, scratch, mask);
2955 2955
2956 Register index = scratch; 2956 Register index = scratch;
2957 Register probe = mask; 2957 Register probe = mask;
2958 __ movq(probe, 2958 __ movq(probe,
2959 FieldOperand(number_string_cache, 2959 FieldOperand(number_string_cache,
2960 index, 2960 index,
2961 times_1, 2961 times_1,
2962 FixedArray::kHeaderSize)); 2962 FixedArray::kHeaderSize));
2963 __ JumpIfSmi(probe, not_found); 2963 __ JumpIfSmi(probe, not_found);
2964 ASSERT(CpuFeatures::IsSupported(SSE2));
2965 CpuFeatures::Scope fscope(SSE2);
2966 __ movsd(xmm0, FieldOperand(object, HeapNumber::kValueOffset)); 2964 __ movsd(xmm0, FieldOperand(object, HeapNumber::kValueOffset));
2967 __ movsd(xmm1, FieldOperand(probe, HeapNumber::kValueOffset)); 2965 __ movsd(xmm1, FieldOperand(probe, HeapNumber::kValueOffset));
2968 __ ucomisd(xmm0, xmm1); 2966 __ ucomisd(xmm0, xmm1);
2969 __ j(parity_even, not_found); // Bail out if NaN is involved. 2967 __ j(parity_even, not_found); // Bail out if NaN is involved.
2970 __ j(not_equal, not_found); // The cache did not contain this value. 2968 __ j(not_equal, not_found); // The cache did not contain this value.
2971 __ jmp(&load_result_from_cache); 2969 __ jmp(&load_result_from_cache);
2972 } 2970 }
2973 2971
2974 __ bind(&is_smi); 2972 __ bind(&is_smi);
2975 __ SmiToInteger32(scratch, object); 2973 __ SmiToInteger32(scratch, object);
(...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
5125 // Do a tail call to the rewritten stub. 5123 // Do a tail call to the rewritten stub.
5126 __ jmp(rdi); 5124 __ jmp(rdi);
5127 } 5125 }
5128 5126
5129 5127
5130 #undef __ 5128 #undef __
5131 5129
5132 } } // namespace v8::internal 5130 } } // namespace v8::internal
5133 5131
5134 #endif // V8_TARGET_ARCH_X64 5132 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698