| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 return "<unknown>"; | 476 return "<unknown>"; |
| 477 } | 477 } |
| 478 } | 478 } |
| 479 | 479 |
| 480 | 480 |
| 481 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 481 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
| 482 switch (type_) { | 482 switch (type_) { |
| 483 case READ_ELEMENT: | 483 case READ_ELEMENT: |
| 484 GenerateReadElement(masm); | 484 GenerateReadElement(masm); |
| 485 break; | 485 break; |
| 486 case NEW_NON_STRICT: | 486 case NEW_NON_STRICT_FAST: |
| 487 GenerateNewNonStrictFast(masm); |
| 488 break; |
| 489 case NEW_NON_STRICT_SLOW: |
| 490 GenerateNewNonStrictSlow(masm); |
| 491 break; |
| 487 case NEW_STRICT: | 492 case NEW_STRICT: |
| 488 GenerateNewObject(masm); | 493 GenerateNewStrict(masm); |
| 489 break; | 494 break; |
| 490 } | 495 } |
| 491 } | 496 } |
| 492 | 497 |
| 493 | 498 |
| 494 int CEntryStub::MinorKey() { | 499 int CEntryStub::MinorKey() { |
| 495 ASSERT(result_size_ == 1 || result_size_ == 2); | 500 ASSERT(result_size_ == 1 || result_size_ == 2); |
| 496 int result = save_doubles_ ? 1 : 0; | 501 int result = save_doubles_ ? 1 : 0; |
| 497 #ifdef _WIN64 | 502 #ifdef _WIN64 |
| 498 return result | ((result_size_ == 1) ? 0 : 2); | 503 return result | ((result_size_ == 1) ? 0 : 2); |
| 499 #else | 504 #else |
| 500 return result; | 505 return result; |
| 501 #endif | 506 #endif |
| 502 } | 507 } |
| 503 | 508 |
| 504 | 509 |
| 505 } } // namespace v8::internal | 510 } } // namespace v8::internal |
| OLD | NEW |