| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 // The high 8 bits are set to zero. | 441 // The high 8 bits are set to zero. |
| 442 void label_at_put(Label* L, int at_offset); | 442 void label_at_put(Label* L, int at_offset); |
| 443 void load_label_offset(Register r1, Label* L); | 443 void load_label_offset(Register r1, Label* L); |
| 444 | 444 |
| 445 // Read/Modify the code target address in the branch/call instruction at pc. | 445 // Read/Modify the code target address in the branch/call instruction at pc. |
| 446 INLINE(static Address target_address_at(Address pc, Address constant_pool)); | 446 INLINE(static Address target_address_at(Address pc, Address constant_pool)); |
| 447 INLINE(static void set_target_address_at( | 447 INLINE(static void set_target_address_at( |
| 448 Isolate* isolate, Address pc, Address constant_pool, Address target, | 448 Isolate* isolate, Address pc, Address constant_pool, Address target, |
| 449 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); | 449 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); |
| 450 INLINE(static Address target_address_at(Address pc, Code* code)); | 450 INLINE(static Address target_address_at(Address pc, Code* code)); |
| 451 INLINE(static void set_target_address_at(Isolate* isolate, Address pc, | 451 INLINE(static void set_target_address_at( |
| 452 Code* code, Address target, | 452 Isolate* isolate, Address pc, Code* code, Address target, |
| 453 ICacheFlushMode icache_flush_mode)); | 453 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); |
| 454 | 454 |
| 455 // Return the code target address at a call site from the return address | 455 // Return the code target address at a call site from the return address |
| 456 // of that call in the instruction stream. | 456 // of that call in the instruction stream. |
| 457 inline static Address target_address_from_return_address(Address pc); | 457 inline static Address target_address_from_return_address(Address pc); |
| 458 | 458 |
| 459 // Given the address of the beginning of a call, return the address | 459 // Given the address of the beginning of a call, return the address |
| 460 // in the instruction stream that the call will return to. | 460 // in the instruction stream that the call will return to. |
| 461 INLINE(static Address return_address_from_call_start(Address pc)); | 461 INLINE(static Address return_address_from_call_start(Address pc)); |
| 462 | 462 |
| 463 inline Handle<Object> code_target_object_handle_at(Address pc); | 463 inline Handle<Object> code_target_object_handle_at(Address pc); |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1463 | 1463 |
| 1464 class EnsureSpace BASE_EMBEDDED { | 1464 class EnsureSpace BASE_EMBEDDED { |
| 1465 public: | 1465 public: |
| 1466 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1466 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
| 1467 }; | 1467 }; |
| 1468 | 1468 |
| 1469 } // namespace internal | 1469 } // namespace internal |
| 1470 } // namespace v8 | 1470 } // namespace v8 |
| 1471 | 1471 |
| 1472 #endif // V8_S390_ASSEMBLER_S390_H_ | 1472 #endif // V8_S390_ASSEMBLER_S390_H_ |
| OLD | NEW |