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

Side by Side Diff: src/full-codegen.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/frames.cc ('k') | src/jsregexp.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 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 static_cast<int>(id) - static_cast<int>(Runtime::kFirstInlineFunction); 679 static_cast<int>(id) - static_cast<int>(Runtime::kFirstInlineFunction);
680 ASSERT(lookup_index >= 0); 680 ASSERT(lookup_index >= 0);
681 ASSERT(static_cast<size_t>(lookup_index) < 681 ASSERT(static_cast<size_t>(lookup_index) <
682 ARRAY_SIZE(kInlineFunctionGenerators)); 682 ARRAY_SIZE(kInlineFunctionGenerators));
683 return kInlineFunctionGenerators[lookup_index]; 683 return kInlineFunctionGenerators[lookup_index];
684 } 684 }
685 685
686 686
687 void FullCodeGenerator::EmitInlineRuntimeCall(CallRuntime* node) { 687 void FullCodeGenerator::EmitInlineRuntimeCall(CallRuntime* node) {
688 ZoneList<Expression*>* args = node->arguments(); 688 ZoneList<Expression*>* args = node->arguments();
689 Handle<String> name = node->name();
690 const Runtime::Function* function = node->function(); 689 const Runtime::Function* function = node->function();
691 ASSERT(function != NULL); 690 ASSERT(function != NULL);
692 ASSERT(function->intrinsic_type == Runtime::INLINE); 691 ASSERT(function->intrinsic_type == Runtime::INLINE);
693 InlineFunctionGenerator generator = 692 InlineFunctionGenerator generator =
694 FindInlineFunctionGenerator(function->function_id); 693 FindInlineFunctionGenerator(function->function_id);
695 ((*this).*(generator))(args); 694 ((*this).*(generator))(args);
696 } 695 }
697 696
698 697
699 void FullCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) { 698 void FullCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) {
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 } 1315 }
1317 1316
1318 return false; 1317 return false;
1319 } 1318 }
1320 1319
1321 1320
1322 #undef __ 1321 #undef __
1323 1322
1324 1323
1325 } } // namespace v8::internal 1324 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698