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 2847037: ARM: Fix GC bug with previous change... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 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/arm/codegen-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 9095 matching lines...) Expand 10 before | Expand all | Expand 10 after
9106 BranchIfNonSymbol(masm, &check_for_strings, rdx, kScratchRegister); 9106 BranchIfNonSymbol(masm, &check_for_strings, rdx, kScratchRegister);
9107 9107
9108 // We've already checked for object identity, so if both operands 9108 // We've already checked for object identity, so if both operands
9109 // are symbols they aren't equal. Register eax (not rax) already holds a 9109 // are symbols they aren't equal. Register eax (not rax) already holds a
9110 // non-zero value, which indicates not equal, so just return. 9110 // non-zero value, which indicates not equal, so just return.
9111 __ ret(2 * kPointerSize); 9111 __ ret(2 * kPointerSize);
9112 } 9112 }
9113 9113
9114 __ bind(&check_for_strings); 9114 __ bind(&check_for_strings);
9115 9115
9116 __ JumpIfNotBothSequentialAsciiStrings(rdx, rax, rcx, rbx, &check_unequal_obje cts); 9116 __ JumpIfNotBothSequentialAsciiStrings(
9117 rdx, rax, rcx, rbx, &check_unequal_objects);
9117 9118
9118 // Inline comparison of ascii strings. 9119 // Inline comparison of ascii strings.
9119 StringCompareStub::GenerateCompareFlatAsciiStrings(masm, 9120 StringCompareStub::GenerateCompareFlatAsciiStrings(masm,
9120 rdx, 9121 rdx,
9121 rax, 9122 rax,
9122 rcx, 9123 rcx,
9123 rbx, 9124 rbx,
9124 rdi, 9125 rdi,
9125 r8); 9126 r8);
9126 9127
(...skipping 2821 matching lines...) Expand 10 before | Expand all | Expand 10 after
11948 } 11949 }
11949 11950
11950 #endif 11951 #endif
11951 11952
11952 11953
11953 #undef __ 11954 #undef __
11954 11955
11955 } } // namespace v8::internal 11956 } } // namespace v8::internal
11956 11957
11957 #endif // V8_TARGET_ARCH_X64 11958 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698