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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 Handle<Map> type, | 316 Handle<Map> type, |
317 Handle<String> name); | 317 Handle<String> name); |
318 | 318 |
319 // Emits optimized code to deep-copy the contents of statically known | 319 // Emits optimized code to deep-copy the contents of statically known |
320 // object graphs (e.g. object literal boilerplate). | 320 // object graphs (e.g. object literal boilerplate). |
321 void EmitDeepCopy(Handle<JSObject> object, | 321 void EmitDeepCopy(Handle<JSObject> object, |
322 Register result, | 322 Register result, |
323 Register source, | 323 Register source, |
324 int* offset); | 324 int* offset); |
325 | 325 |
| 326 // Emit optimized code for integer division. |
| 327 // Inputs are signed. |
| 328 // All registers are clobbered. |
| 329 // If 'remainder' is no_reg, it is not computed. |
| 330 void EmitSignedIntegerDivisionByConstant(Register result, |
| 331 Register dividend, |
| 332 int32_t divisor, |
| 333 Register remainder, |
| 334 Register scratch, |
| 335 LEnvironment* environment); |
| 336 |
326 struct JumpTableEntry { | 337 struct JumpTableEntry { |
327 explicit inline JumpTableEntry(Address entry) | 338 explicit inline JumpTableEntry(Address entry) |
328 : label(), | 339 : label(), |
329 address(entry) { } | 340 address(entry) { } |
330 Label label; | 341 Label label; |
331 Address address; | 342 Address address; |
332 }; | 343 }; |
333 | 344 |
334 void EnsureSpaceForLazyDeopt(); | 345 void EnsureSpaceForLazyDeopt(); |
335 | 346 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 LCodeGen* codegen_; | 444 LCodeGen* codegen_; |
434 Label entry_; | 445 Label entry_; |
435 Label exit_; | 446 Label exit_; |
436 Label* external_exit_; | 447 Label* external_exit_; |
437 int instruction_index_; | 448 int instruction_index_; |
438 }; | 449 }; |
439 | 450 |
440 } } // namespace v8::internal | 451 } } // namespace v8::internal |
441 | 452 |
442 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 453 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |