| 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 453       break; | 453       break; | 
| 454     case EXTERNAL_BYTE_ELEMENTS: | 454     case EXTERNAL_BYTE_ELEMENTS: | 
| 455     case EXTERNAL_UNSIGNED_BYTE_ELEMENTS: | 455     case EXTERNAL_UNSIGNED_BYTE_ELEMENTS: | 
| 456     case EXTERNAL_SHORT_ELEMENTS: | 456     case EXTERNAL_SHORT_ELEMENTS: | 
| 457     case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: | 457     case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: | 
| 458     case EXTERNAL_INT_ELEMENTS: | 458     case EXTERNAL_INT_ELEMENTS: | 
| 459     case EXTERNAL_UNSIGNED_INT_ELEMENTS: | 459     case EXTERNAL_UNSIGNED_INT_ELEMENTS: | 
| 460     case EXTERNAL_FLOAT_ELEMENTS: | 460     case EXTERNAL_FLOAT_ELEMENTS: | 
| 461     case EXTERNAL_DOUBLE_ELEMENTS: | 461     case EXTERNAL_DOUBLE_ELEMENTS: | 
| 462     case EXTERNAL_PIXEL_ELEMENTS: | 462     case EXTERNAL_PIXEL_ELEMENTS: | 
| 463       KeyedStoreStubCompiler::GenerateStoreExternalArray(masm, elements_kind_); | 463       UNREACHABLE(); | 
| 464       break; | 464       break; | 
| 465     case DICTIONARY_ELEMENTS: | 465     case DICTIONARY_ELEMENTS: | 
| 466       KeyedStoreStubCompiler::GenerateStoreDictionaryElement(masm); | 466       KeyedStoreStubCompiler::GenerateStoreDictionaryElement(masm); | 
| 467       break; | 467       break; | 
| 468     case NON_STRICT_ARGUMENTS_ELEMENTS: | 468     case NON_STRICT_ARGUMENTS_ELEMENTS: | 
| 469       UNREACHABLE(); | 469       UNREACHABLE(); | 
| 470       break; | 470       break; | 
| 471   } | 471   } | 
| 472 } | 472 } | 
| 473 | 473 | 
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 636   // already active, as the hooks won't stack. | 636   // already active, as the hooks won't stack. | 
| 637   if (entry_hook != 0 && entry_hook_ != 0) | 637   if (entry_hook != 0 && entry_hook_ != 0) | 
| 638     return false; | 638     return false; | 
| 639 | 639 | 
| 640   entry_hook_ = entry_hook; | 640   entry_hook_ = entry_hook; | 
| 641   return true; | 641   return true; | 
| 642 } | 642 } | 
| 643 | 643 | 
| 644 | 644 | 
| 645 } }  // namespace v8::internal | 645 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|