| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 10460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10471 case Translation::SETTER_STUB_FRAME: { | 10471 case Translation::SETTER_STUB_FRAME: { |
| 10472 int function_id = iterator.Next(); | 10472 int function_id = iterator.Next(); |
| 10473 JSFunction* function = | 10473 JSFunction* function = |
| 10474 JSFunction::cast(LiteralArray()->get(function_id)); | 10474 JSFunction::cast(LiteralArray()->get(function_id)); |
| 10475 PrintF(out, "{function="); | 10475 PrintF(out, "{function="); |
| 10476 function->PrintName(out); | 10476 function->PrintName(out); |
| 10477 PrintF(out, "}"); | 10477 PrintF(out, "}"); |
| 10478 break; | 10478 break; |
| 10479 } | 10479 } |
| 10480 | 10480 |
| 10481 case Translation::DUPLICATE: | |
| 10482 break; | |
| 10483 | |
| 10484 case Translation::REGISTER: { | 10481 case Translation::REGISTER: { |
| 10485 int reg_code = iterator.Next(); | 10482 int reg_code = iterator.Next(); |
| 10486 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); | 10483 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); |
| 10487 break; | 10484 break; |
| 10488 } | 10485 } |
| 10489 | 10486 |
| 10490 case Translation::INT32_REGISTER: { | 10487 case Translation::INT32_REGISTER: { |
| 10491 int reg_code = iterator.Next(); | 10488 int reg_code = iterator.Next(); |
| 10492 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); | 10489 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); |
| 10493 break; | 10490 break; |
| (...skipping 5210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15704 | 15701 |
| 15705 | 15702 |
| 15706 void JSTypedArray::Neuter() { | 15703 void JSTypedArray::Neuter() { |
| 15707 set_byte_offset(Smi::FromInt(0)); | 15704 set_byte_offset(Smi::FromInt(0)); |
| 15708 set_byte_length(Smi::FromInt(0)); | 15705 set_byte_length(Smi::FromInt(0)); |
| 15709 set_length(Smi::FromInt(0)); | 15706 set_length(Smi::FromInt(0)); |
| 15710 set_elements(GetHeap()->EmptyExternalArrayForMap(map())); | 15707 set_elements(GetHeap()->EmptyExternalArrayForMap(map())); |
| 15711 } | 15708 } |
| 15712 | 15709 |
| 15713 } } // namespace v8::internal | 15710 } } // namespace v8::internal |
| OLD | NEW |