| 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 case EXTERNAL_##TYPE##_ELEMENTS: \ | 554 case EXTERNAL_##TYPE##_ELEMENTS: \ |
| 555 case TYPE##_ELEMENTS: | 555 case TYPE##_ELEMENTS: |
| 556 | 556 |
| 557 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 557 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
| 558 #undef TYPED_ARRAY_CASE | 558 #undef TYPED_ARRAY_CASE |
| 559 UNREACHABLE(); | 559 UNREACHABLE(); |
| 560 break; | 560 break; |
| 561 case DICTIONARY_ELEMENTS: | 561 case DICTIONARY_ELEMENTS: |
| 562 KeyedStoreStubCompiler::GenerateStoreDictionaryElement(masm); | 562 KeyedStoreStubCompiler::GenerateStoreDictionaryElement(masm); |
| 563 break; | 563 break; |
| 564 case NON_STRICT_ARGUMENTS_ELEMENTS: | 564 case SLOPPY_ARGUMENTS_ELEMENTS: |
| 565 UNREACHABLE(); | 565 UNREACHABLE(); |
| 566 break; | 566 break; |
| 567 } | 567 } |
| 568 } | 568 } |
| 569 | 569 |
| 570 | 570 |
| 571 void ArgumentsAccessStub::PrintName(StringStream* stream) { | 571 void ArgumentsAccessStub::PrintName(StringStream* stream) { |
| 572 stream->Add("ArgumentsAccessStub_"); | 572 stream->Add("ArgumentsAccessStub_"); |
| 573 switch (type_) { | 573 switch (type_) { |
| 574 case READ_ELEMENT: stream->Add("ReadElement"); break; | 574 case READ_ELEMENT: stream->Add("ReadElement"); break; |
| 575 case NEW_NON_STRICT_FAST: stream->Add("NewNonStrictFast"); break; | 575 case NEW_SLOPPY_FAST: stream->Add("NewSloppyFast"); break; |
| 576 case NEW_NON_STRICT_SLOW: stream->Add("NewNonStrictSlow"); break; | 576 case NEW_SLOPPY_SLOW: stream->Add("NewSloppySlow"); break; |
| 577 case NEW_STRICT: stream->Add("NewStrict"); break; | 577 case NEW_STRICT: stream->Add("NewStrict"); break; |
| 578 } | 578 } |
| 579 } | 579 } |
| 580 | 580 |
| 581 | 581 |
| 582 void CallFunctionStub::PrintName(StringStream* stream) { | 582 void CallFunctionStub::PrintName(StringStream* stream) { |
| 583 stream->Add("CallFunctionStub_Args%d", argc_); | 583 stream->Add("CallFunctionStub_Args%d", argc_); |
| 584 if (RecordCallTarget()) stream->Add("_Recording"); | 584 if (RecordCallTarget()) stream->Add("_Recording"); |
| 585 } | 585 } |
| 586 | 586 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 InstallDescriptor(isolate, &stub3); | 805 InstallDescriptor(isolate, &stub3); |
| 806 } | 806 } |
| 807 | 807 |
| 808 InternalArrayConstructorStub::InternalArrayConstructorStub( | 808 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 809 Isolate* isolate) { | 809 Isolate* isolate) { |
| 810 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 810 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 811 } | 811 } |
| 812 | 812 |
| 813 | 813 |
| 814 } } // namespace v8::internal | 814 } } // namespace v8::internal |
| OLD | NEW |