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

Side by Side Diff: src/ic.cc

Issue 7034030: Fix compilation warning on some C++ compilers. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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 | « no previous file | 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 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 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after
2210 return (type == TRUnaryOpIC::GENERIC) 2210 return (type == TRUnaryOpIC::GENERIC)
2211 ? TRUnaryOpIC::GENERIC 2211 ? TRUnaryOpIC::GENERIC
2212 : TRUnaryOpIC::HEAP_NUMBER; 2212 : TRUnaryOpIC::HEAP_NUMBER;
2213 case TRUnaryOpIC::HEAP_NUMBER: 2213 case TRUnaryOpIC::HEAP_NUMBER:
2214 return TRUnaryOpIC::GENERIC; 2214 return TRUnaryOpIC::GENERIC;
2215 case TRUnaryOpIC::GENERIC: 2215 case TRUnaryOpIC::GENERIC:
2216 // We should never do patching if we are in GENERIC state. 2216 // We should never do patching if we are in GENERIC state.
2217 UNREACHABLE(); 2217 UNREACHABLE();
2218 return TRUnaryOpIC::GENERIC; 2218 return TRUnaryOpIC::GENERIC;
2219 } 2219 }
2220 UNREACHABLE();
2221 return TRUnaryOpIC::GENERIC;
2220 } 2222 }
2221 2223
2222 2224
2223 void TRBinaryOpIC::patch(Code* code) { 2225 void TRBinaryOpIC::patch(Code* code) {
2224 set_target(code); 2226 set_target(code);
2225 } 2227 }
2226 2228
2227 2229
2228 const char* TRBinaryOpIC::GetName(TypeInfo type_info) { 2230 const char* TRBinaryOpIC::GetName(TypeInfo type_info) {
2229 switch (type_info) { 2231 switch (type_info) {
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
2555 #undef ADDR 2557 #undef ADDR
2556 }; 2558 };
2557 2559
2558 2560
2559 Address IC::AddressFromUtilityId(IC::UtilityId id) { 2561 Address IC::AddressFromUtilityId(IC::UtilityId id) {
2560 return IC_utilities[id]; 2562 return IC_utilities[id];
2561 } 2563 }
2562 2564
2563 2565
2564 } } // namespace v8::internal 2566 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698