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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 Register object, | 358 Register object, |
359 Handle<Map> type, | 359 Handle<Map> type, |
360 Handle<String> name, | 360 Handle<String> name, |
361 LEnvironment* env); | 361 LEnvironment* env); |
362 | 362 |
363 // Emits optimized code to deep-copy the contents of statically known | 363 // Emits optimized code to deep-copy the contents of statically known |
364 // object graphs (e.g. object literal boilerplate). | 364 // object graphs (e.g. object literal boilerplate). |
365 void EmitDeepCopy(Handle<JSObject> object, | 365 void EmitDeepCopy(Handle<JSObject> object, |
366 Register result, | 366 Register result, |
367 Register source, | 367 Register source, |
368 int* offset); | 368 int* offset, |
| 369 AllocationSiteMode mode); |
369 | 370 |
370 // Emit optimized code for integer division. | 371 // Emit optimized code for integer division. |
371 // Inputs are signed. | 372 // Inputs are signed. |
372 // All registers are clobbered. | 373 // All registers are clobbered. |
373 // If 'remainder' is no_reg, it is not computed. | 374 // If 'remainder' is no_reg, it is not computed. |
374 void EmitSignedIntegerDivisionByConstant(Register result, | 375 void EmitSignedIntegerDivisionByConstant(Register result, |
375 Register dividend, | 376 Register dividend, |
376 int32_t divisor, | 377 int32_t divisor, |
377 Register remainder, | 378 Register remainder, |
378 Register scratch, | 379 Register scratch, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 LCodeGen* codegen_; | 502 LCodeGen* codegen_; |
502 Label entry_; | 503 Label entry_; |
503 Label exit_; | 504 Label exit_; |
504 Label* external_exit_; | 505 Label* external_exit_; |
505 int instruction_index_; | 506 int instruction_index_; |
506 }; | 507 }; |
507 | 508 |
508 } } // namespace v8::internal | 509 } } // namespace v8::internal |
509 | 510 |
510 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 511 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |