OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 break; | 369 break; |
370 case CompareIC::HEAP_NUMBER: | 370 case CompareIC::HEAP_NUMBER: |
371 GenerateHeapNumbers(masm); | 371 GenerateHeapNumbers(masm); |
372 break; | 372 break; |
373 case CompareIC::STRING: | 373 case CompareIC::STRING: |
374 GenerateStrings(masm); | 374 GenerateStrings(masm); |
375 break; | 375 break; |
376 case CompareIC::INTERNALIZED_STRING: | 376 case CompareIC::INTERNALIZED_STRING: |
377 GenerateInternalizedStrings(masm); | 377 GenerateInternalizedStrings(masm); |
378 break; | 378 break; |
| 379 case CompareIC::UNIQUE_NAME: |
| 380 GenerateUniqueNames(masm); |
| 381 break; |
379 case CompareIC::OBJECT: | 382 case CompareIC::OBJECT: |
380 GenerateObjects(masm); | 383 GenerateObjects(masm); |
381 break; | 384 break; |
382 case CompareIC::KNOWN_OBJECTS: | 385 case CompareIC::KNOWN_OBJECTS: |
383 ASSERT(*known_map_ != NULL); | 386 ASSERT(*known_map_ != NULL); |
384 GenerateKnownObjects(masm); | 387 GenerateKnownObjects(masm); |
385 break; | 388 break; |
386 case CompareIC::GENERIC: | 389 case CompareIC::GENERIC: |
387 GenerateGeneric(masm); | 390 GenerateGeneric(masm); |
388 break; | 391 break; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 // already active, as the hooks won't stack. | 632 // already active, as the hooks won't stack. |
630 if (entry_hook != 0 && entry_hook_ != 0) | 633 if (entry_hook != 0 && entry_hook_ != 0) |
631 return false; | 634 return false; |
632 | 635 |
633 entry_hook_ = entry_hook; | 636 entry_hook_ = entry_hook; |
634 return true; | 637 return true; |
635 } | 638 } |
636 | 639 |
637 | 640 |
638 } } // namespace v8::internal | 641 } } // namespace v8::internal |
OLD | NEW |