| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 : "GenericUnaryOpStub_BIT_NOT_Alloc"; | 447 : "GenericUnaryOpStub_BIT_NOT_Alloc"; |
| 448 default: | 448 default: |
| 449 UNREACHABLE(); | 449 UNREACHABLE(); |
| 450 return "<unknown>"; | 450 return "<unknown>"; |
| 451 } | 451 } |
| 452 } | 452 } |
| 453 | 453 |
| 454 | 454 |
| 455 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 455 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
| 456 switch (type_) { | 456 switch (type_) { |
| 457 case READ_LENGTH: GenerateReadLength(masm); break; | |
| 458 case READ_ELEMENT: GenerateReadElement(masm); break; | 457 case READ_ELEMENT: GenerateReadElement(masm); break; |
| 459 case NEW_OBJECT: GenerateNewObject(masm); break; | 458 case NEW_OBJECT: GenerateNewObject(masm); break; |
| 460 } | 459 } |
| 461 } | 460 } |
| 462 | 461 |
| 463 | 462 |
| 464 int CEntryStub::MinorKey() { | 463 int CEntryStub::MinorKey() { |
| 465 ASSERT(result_size_ <= 2); | 464 ASSERT(result_size_ <= 2); |
| 466 #ifdef _WIN64 | 465 #ifdef _WIN64 |
| 467 return ExitFrameModeBits::encode(mode_) | 466 return ExitFrameModeBits::encode(mode_) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 482 } | 481 } |
| 483 } | 482 } |
| 484 | 483 |
| 485 | 484 |
| 486 void ApiGetterEntryStub::SetCustomCache(Code* value) { | 485 void ApiGetterEntryStub::SetCustomCache(Code* value) { |
| 487 info()->set_load_stub_cache(value); | 486 info()->set_load_stub_cache(value); |
| 488 } | 487 } |
| 489 | 488 |
| 490 | 489 |
| 491 } } // namespace v8::internal | 490 } } // namespace v8::internal |
| OLD | NEW |