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