| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // TODO(rossberg): for caching of CompareNilIC stubs to work correctly, | 199 // TODO(rossberg): for caching of CompareNilIC stubs to work correctly, |
| 200 // we must exclude Undetectable here. This makes no sense, really, | 200 // we must exclude Undetectable here. This makes no sense, really, |
| 201 // because it means that the template isn't actually parametric. | 201 // because it means that the template isn't actually parametric. |
| 202 // Also, it doesn't apply elsewhere. 8-( | 202 // Also, it doesn't apply elsewhere. 8-( |
| 203 // We ought to find a cleaner solution for compiling stubs parameterised | 203 // We ought to find a cleaner solution for compiling stubs parameterised |
| 204 // over type or class variables, esp ones with bounds... | 204 // over type or class variables, esp ones with bounds... |
| 205 return kDetectable; | 205 return kDetectable; |
| 206 case DECLARED_ACCESSOR_INFO_TYPE: | 206 case DECLARED_ACCESSOR_INFO_TYPE: |
| 207 case EXECUTABLE_ACCESSOR_INFO_TYPE: | 207 case EXECUTABLE_ACCESSOR_INFO_TYPE: |
| 208 case ACCESSOR_PAIR_TYPE: | 208 case ACCESSOR_PAIR_TYPE: |
| 209 case FIXED_ARRAY_TYPE: |
| 209 return kInternal; | 210 return kInternal; |
| 210 default: | 211 default: |
| 211 UNREACHABLE(); | 212 UNREACHABLE(); |
| 212 return kNone; | 213 return kNone; |
| 213 } | 214 } |
| 214 } | 215 } |
| 215 } | 216 } |
| 216 | 217 |
| 217 | 218 |
| 218 // Get the largest bitset subsumed by this type. | 219 // Get the largest bitset subsumed by this type. |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 if (i > 0) PrintF(out, ","); | 528 if (i > 0) PrintF(out, ","); |
| 528 type_i->TypePrint(out); | 529 type_i->TypePrint(out); |
| 529 } | 530 } |
| 530 PrintF(out, "}"); | 531 PrintF(out, "}"); |
| 531 } | 532 } |
| 532 } | 533 } |
| 533 #endif | 534 #endif |
| 534 | 535 |
| 535 | 536 |
| 536 } } // namespace v8::internal | 537 } } // namespace v8::internal |
| OLD | NEW |