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 | |
337 struct JumpTableEntry { | 326 struct JumpTableEntry { |
338 explicit inline JumpTableEntry(Address entry) | 327 explicit inline JumpTableEntry(Address entry) |
339 : label(), | 328 : label(), |
340 address(entry) { } | 329 address(entry) { } |
341 Label label; | 330 Label label; |
342 Address address; | 331 Address address; |
343 }; | 332 }; |
344 | 333 |
345 void EnsureSpaceForLazyDeopt(); | 334 void EnsureSpaceForLazyDeopt(); |
346 | 335 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 LCodeGen* codegen_; | 433 LCodeGen* codegen_; |
445 Label entry_; | 434 Label entry_; |
446 Label exit_; | 435 Label exit_; |
447 Label* external_exit_; | 436 Label* external_exit_; |
448 int instruction_index_; | 437 int instruction_index_; |
449 }; | 438 }; |
450 | 439 |
451 } } // namespace v8::internal | 440 } } // namespace v8::internal |
452 | 441 |
453 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 442 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |