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

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

Issue 7400023: fix -Wunused-but-set-variable for gcc-4.6 on x64 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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/third_party/valgrind/valgrind.h ('k') | src/x64/cpu-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 2478 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 // First four arguments are passed in registers on both Linux and Windows. 2489 // First four arguments are passed in registers on both Linux and Windows.
2490 #ifdef _WIN64 2490 #ifdef _WIN64
2491 Register arg4 = r9; 2491 Register arg4 = r9;
2492 Register arg3 = r8; 2492 Register arg3 = r8;
2493 Register arg2 = rdx; 2493 Register arg2 = rdx;
2494 Register arg1 = rcx; 2494 Register arg1 = rcx;
2495 #else 2495 #else
2496 Register arg4 = rcx; 2496 Register arg4 = rcx;
2497 Register arg3 = rdx; 2497 Register arg3 = rdx;
2498 Register arg2 = rsi; 2498 Register arg2 = rsi;
2499 #ifdef DEBUG
2499 Register arg1 = rdi; 2500 Register arg1 = rdi;
William Hesse 2011/07/19 12:16:43 This is so asymmetric, and weird, that I would pre
wingo 2011/07/19 13:52:10 Ah, I had not seen USE; thanks for the pointer. It
2500 #endif 2501 #endif
2502 #endif
2501 2503
2502 // Keep track on aliasing between argX defined above and the registers used. 2504 // Keep track on aliasing between argX defined above and the registers used.
2503 // rdi: subject string 2505 // rdi: subject string
2504 // rbx: previous index 2506 // rbx: previous index
2505 // rcx: encoding of subject string (1 if ascii 0 if two_byte); 2507 // rcx: encoding of subject string (1 if ascii 0 if two_byte);
2506 // r11: code 2508 // r11: code
2507 2509
2508 // Argument 4: End of string data 2510 // Argument 4: End of string data
2509 // Argument 3: Start of string data 2511 // Argument 3: Start of string data
2510 Label setup_two_byte, setup_rest; 2512 Label setup_two_byte, setup_rest;
(...skipping 2770 matching lines...) Expand 10 before | Expand all | Expand 10 after
5281 __ Drop(1); 5283 __ Drop(1);
5282 __ ret(2 * kPointerSize); 5284 __ ret(2 * kPointerSize);
5283 } 5285 }
5284 5286
5285 5287
5286 #undef __ 5288 #undef __
5287 5289
5288 } } // namespace v8::internal 5290 } } // namespace v8::internal
5289 5291
5290 #endif // V8_TARGET_ARCH_X64 5292 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/third_party/valgrind/valgrind.h ('k') | src/x64/cpu-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698