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

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: without valgrind changes 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/platform-linux.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 2511 matching lines...) Expand 10 before | Expand all | Expand 10 after
2522 __ bind(&setup_rest); 2522 __ bind(&setup_rest);
2523 // Argument 2: Previous index. 2523 // Argument 2: Previous index.
2524 __ movq(arg2, rbx); 2524 __ movq(arg2, rbx);
2525 2525
2526 // Argument 1: Subject string. 2526 // Argument 1: Subject string.
2527 #ifdef _WIN64 2527 #ifdef _WIN64
2528 __ movq(arg1, rdi); 2528 __ movq(arg1, rdi);
2529 #else 2529 #else
2530 // Already there in AMD64 calling convention. 2530 // Already there in AMD64 calling convention.
2531 ASSERT(arg1.is(rdi)); 2531 ASSERT(arg1.is(rdi));
2532 USE(arg1);
2532 #endif 2533 #endif
2533 2534
2534 // Locate the code entry and call it. 2535 // Locate the code entry and call it.
2535 __ addq(r11, Immediate(Code::kHeaderSize - kHeapObjectTag)); 2536 __ addq(r11, Immediate(Code::kHeaderSize - kHeapObjectTag));
2536 __ call(r11); 2537 __ call(r11);
2537 2538
2538 __ LeaveApiExitFrame(); 2539 __ LeaveApiExitFrame();
2539 2540
2540 // Check the result. 2541 // Check the result.
2541 Label success; 2542 Label success;
(...skipping 2739 matching lines...) Expand 10 before | Expand all | Expand 10 after
5281 __ Drop(1); 5282 __ Drop(1);
5282 __ ret(2 * kPointerSize); 5283 __ ret(2 * kPointerSize);
5283 } 5284 }
5284 5285
5285 5286
5286 #undef __ 5287 #undef __
5287 5288
5288 } } // namespace v8::internal 5289 } } // namespace v8::internal
5289 5290
5290 #endif // V8_TARGET_ARCH_X64 5291 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/platform-linux.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698