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

Side by Side Diff: src/x64/lithium-codegen-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/x64/full-codegen-x64.cc ('k') | src/x64/regexp-macro-assembler-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 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 Label* map_check) { 1876 Label* map_check) {
1877 { 1877 {
1878 PushSafepointRegistersScope scope(this); 1878 PushSafepointRegistersScope scope(this);
1879 InstanceofStub::Flags flags = static_cast<InstanceofStub::Flags>( 1879 InstanceofStub::Flags flags = static_cast<InstanceofStub::Flags>(
1880 InstanceofStub::kNoFlags | InstanceofStub::kCallSiteInlineCheck); 1880 InstanceofStub::kNoFlags | InstanceofStub::kCallSiteInlineCheck);
1881 InstanceofStub stub(flags); 1881 InstanceofStub stub(flags);
1882 1882
1883 __ push(ToRegister(instr->InputAt(0))); 1883 __ push(ToRegister(instr->InputAt(0)));
1884 __ Push(instr->function()); 1884 __ Push(instr->function());
1885 1885
1886 Register temp = ToRegister(instr->TempAt(0));
1887 static const int kAdditionalDelta = 10; 1886 static const int kAdditionalDelta = 10;
1888 int delta = 1887 int delta =
1889 masm_->SizeOfCodeGeneratedSince(map_check) + kAdditionalDelta; 1888 masm_->SizeOfCodeGeneratedSince(map_check) + kAdditionalDelta;
1890 ASSERT(delta >= 0); 1889 ASSERT(delta >= 0);
1891 __ push_imm32(delta); 1890 __ push_imm32(delta);
1892 1891
1893 // We are pushing three values on the stack but recording a 1892 // We are pushing three values on the stack but recording a
1894 // safepoint with two arguments because stub is going to 1893 // safepoint with two arguments because stub is going to
1895 // remove the third argument from the stack before jumping 1894 // remove the third argument from the stack before jumping
1896 // to instanceof builtin on the slow path. 1895 // to instanceof builtin on the slow path.
(...skipping 2163 matching lines...) Expand 10 before | Expand all | Expand 10 after
4060 RegisterEnvironmentForDeoptimization(environment); 4059 RegisterEnvironmentForDeoptimization(environment);
4061 ASSERT(osr_pc_offset_ == -1); 4060 ASSERT(osr_pc_offset_ == -1);
4062 osr_pc_offset_ = masm()->pc_offset(); 4061 osr_pc_offset_ = masm()->pc_offset();
4063 } 4062 }
4064 4063
4065 #undef __ 4064 #undef __
4066 4065
4067 } } // namespace v8::internal 4066 } } // namespace v8::internal
4068 4067
4069 #endif // V8_TARGET_ARCH_X64 4068 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698