| 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 | 465 |
| 466 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 466 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
| 467 switch (type_) { | 467 switch (type_) { |
| 468 case READ_ELEMENT: GenerateReadElement(masm); break; | 468 case READ_ELEMENT: GenerateReadElement(masm); break; |
| 469 case NEW_OBJECT: GenerateNewObject(masm); break; | 469 case NEW_OBJECT: GenerateNewObject(masm); break; |
| 470 } | 470 } |
| 471 } | 471 } |
| 472 | 472 |
| 473 | 473 |
| 474 int CEntryStub::MinorKey() { | 474 int CEntryStub::MinorKey() { |
| 475 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; |
| 476 #ifdef _WIN64 |
| 475 ASSERT(result_size_ == 1 || result_size_ == 2); | 477 ASSERT(result_size_ == 1 || result_size_ == 2); |
| 476 int result = save_doubles_ ? 1 : 0; | |
| 477 #ifdef _WIN64 | |
| 478 return result | ((result_size_ == 1) ? 0 : 2); | 478 return result | ((result_size_ == 1) ? 0 : 2); |
| 479 #else | 479 #else |
| 480 ASSERT(result_size_ == 1); |
| 480 return result; | 481 return result; |
| 481 #endif | 482 #endif |
| 482 } | 483 } |
| 483 | 484 |
| 484 | 485 |
| 485 } } // namespace v8::internal | 486 } } // namespace v8::internal |
| OLD | NEW |