| 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 468           : "GenericUnaryOpStub_BIT_NOT_Alloc"; | 468           : "GenericUnaryOpStub_BIT_NOT_Alloc"; | 
| 469     default: | 469     default: | 
| 470       UNREACHABLE(); | 470       UNREACHABLE(); | 
| 471       return "<unknown>"; | 471       return "<unknown>"; | 
| 472   } | 472   } | 
| 473 } | 473 } | 
| 474 | 474 | 
| 475 | 475 | 
| 476 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 476 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 
| 477   switch (type_) { | 477   switch (type_) { | 
| 478     case READ_ELEMENT: GenerateReadElement(masm); break; | 478     case READ_ELEMENT: | 
| 479     case NEW_OBJECT: GenerateNewObject(masm); break; | 479       GenerateReadElement(masm); | 
|  | 480       break; | 
|  | 481     case NEW_OBJECT: | 
|  | 482     case NEW_OBJECT_STRICT: | 
|  | 483       GenerateNewObject(masm); | 
|  | 484       break; | 
| 480   } | 485   } | 
| 481 } | 486 } | 
| 482 | 487 | 
| 483 | 488 | 
| 484 int CEntryStub::MinorKey() { | 489 int CEntryStub::MinorKey() { | 
| 485   ASSERT(result_size_ == 1 || result_size_ == 2); | 490   ASSERT(result_size_ == 1 || result_size_ == 2); | 
| 486   int result = save_doubles_ ? 1 : 0; | 491   int result = save_doubles_ ? 1 : 0; | 
| 487 #ifdef _WIN64 | 492 #ifdef _WIN64 | 
| 488   return result | ((result_size_ == 1) ? 0 : 2); | 493   return result | ((result_size_ == 1) ? 0 : 2); | 
| 489 #else | 494 #else | 
| 490   return result; | 495   return result; | 
| 491 #endif | 496 #endif | 
| 492 } | 497 } | 
| 493 | 498 | 
| 494 | 499 | 
| 495 } }  // namespace v8::internal | 500 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|