| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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 | 
| OLD | NEW | 
|---|