| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 356 |
| 357 void EmitLoadFieldOrConstantFunction(Register result, | 357 void EmitLoadFieldOrConstantFunction(Register result, |
| 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 Handle<JSObject> original_object, |
| 366 Register result, | 367 Register result, |
| 367 Register source, | 368 Register source, |
| 368 int* offset, | 369 int* offset, |
| 369 AllocationSiteMode mode); | 370 AllocationSiteMode mode); |
| 370 | 371 |
| 372 void FastLiteralHelper(LFastLiteral* instr, |
| 373 AllocationSiteMode mode); |
| 374 |
| 371 // Emit optimized code for integer division. | 375 // Emit optimized code for integer division. |
| 372 // Inputs are signed. | 376 // Inputs are signed. |
| 373 // All registers are clobbered. | 377 // All registers are clobbered. |
| 374 // If 'remainder' is no_reg, it is not computed. | 378 // If 'remainder' is no_reg, it is not computed. |
| 375 void EmitSignedIntegerDivisionByConstant(Register result, | 379 void EmitSignedIntegerDivisionByConstant(Register result, |
| 376 Register dividend, | 380 Register dividend, |
| 377 int32_t divisor, | 381 int32_t divisor, |
| 378 Register remainder, | 382 Register remainder, |
| 379 Register scratch, | 383 Register scratch, |
| 380 LEnvironment* environment); | 384 LEnvironment* environment); |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 LCodeGen* codegen_; | 507 LCodeGen* codegen_; |
| 504 Label entry_; | 508 Label entry_; |
| 505 Label exit_; | 509 Label exit_; |
| 506 Label* external_exit_; | 510 Label* external_exit_; |
| 507 int instruction_index_; | 511 int instruction_index_; |
| 508 }; | 512 }; |
| 509 | 513 |
| 510 } } // namespace v8::internal | 514 } } // namespace v8::internal |
| 511 | 515 |
| 512 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 516 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |