| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 250 |
| 251 Handle<ByteArray> NewByteArray(int length, | 251 Handle<ByteArray> NewByteArray(int length, |
| 252 PretenureFlag pretenure = NOT_TENURED); | 252 PretenureFlag pretenure = NOT_TENURED); |
| 253 | 253 |
| 254 Handle<ExternalArray> NewExternalArray( | 254 Handle<ExternalArray> NewExternalArray( |
| 255 int length, | 255 int length, |
| 256 ExternalArrayType array_type, | 256 ExternalArrayType array_type, |
| 257 void* external_pointer, | 257 void* external_pointer, |
| 258 PretenureFlag pretenure = NOT_TENURED); | 258 PretenureFlag pretenure = NOT_TENURED); |
| 259 | 259 |
| 260 Handle<FixedTypedArrayBase> NewFixedTypedArray( |
| 261 int length, |
| 262 ExternalArrayType array_type, |
| 263 PretenureFlag pretenure = NOT_TENURED); |
| 264 |
| 260 Handle<Cell> NewCell(Handle<Object> value); | 265 Handle<Cell> NewCell(Handle<Object> value); |
| 261 | 266 |
| 262 Handle<PropertyCell> NewPropertyCellWithHole(); | 267 Handle<PropertyCell> NewPropertyCellWithHole(); |
| 263 | 268 |
| 264 Handle<PropertyCell> NewPropertyCell(Handle<Object> value); | 269 Handle<PropertyCell> NewPropertyCell(Handle<Object> value); |
| 265 | 270 |
| 266 Handle<AllocationSite> NewAllocationSite(); | 271 Handle<AllocationSite> NewAllocationSite(); |
| 267 | 272 |
| 268 Handle<Map> NewMap( | 273 Handle<Map> NewMap( |
| 269 InstanceType type, | 274 InstanceType type, |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 isolate()); | 598 isolate()); |
| 594 } else { | 599 } else { |
| 595 return NewNumber(static_cast<double>(value), pretenure); | 600 return NewNumber(static_cast<double>(value), pretenure); |
| 596 } | 601 } |
| 597 } | 602 } |
| 598 | 603 |
| 599 | 604 |
| 600 } } // namespace v8::internal | 605 } } // namespace v8::internal |
| 601 | 606 |
| 602 #endif // V8_FACTORY_H_ | 607 #endif // V8_FACTORY_H_ |
| OLD | NEW |