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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 byte* pc_; | 364 byte* pc_; |
365 Mode rmode_; | 365 Mode rmode_; |
366 intptr_t data_; | 366 intptr_t data_; |
367 Code* host_; | 367 Code* host_; |
368 #ifdef V8_TARGET_ARCH_MIPS | 368 #ifdef V8_TARGET_ARCH_MIPS |
369 // Code and Embedded Object pointers in mips are stored split | 369 // Code and Embedded Object pointers in mips are stored split |
370 // across two consecutive 32-bit instructions. Heap management | 370 // across two consecutive 32-bit instructions. Heap management |
371 // routines expect to access these pointers indirectly. The following | 371 // routines expect to access these pointers indirectly. The following |
372 // location provides a place for these pointers to exist natually | 372 // location provides a place for these pointers to exist natually |
373 // when accessed via the Iterator. | 373 // when accessed via the Iterator. |
374 Object *reconstructed_obj_ptr_; | 374 Object* reconstructed_obj_ptr_; |
375 // External-reference pointers are also split across instruction-pairs | 375 // External-reference pointers are also split across instruction-pairs |
376 // in mips, but are accessed via indirect pointers. This location | 376 // in mips, but are accessed via indirect pointers. This location |
377 // provides a place for that pointer to exist naturally. Its address | 377 // provides a place for that pointer to exist naturally. Its address |
378 // is returned by RelocInfo::target_reference_address(). | 378 // is returned by RelocInfo::target_reference_address(). |
379 Address reconstructed_adr_ptr_; | 379 Address reconstructed_adr_ptr_; |
380 #endif // V8_TARGET_ARCH_MIPS | 380 #endif // V8_TARGET_ARCH_MIPS |
381 friend class RelocIterator; | 381 friend class RelocIterator; |
382 }; | 382 }; |
383 | 383 |
384 | 384 |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 public: | 874 public: |
875 NullCallWrapper() { } | 875 NullCallWrapper() { } |
876 virtual ~NullCallWrapper() { } | 876 virtual ~NullCallWrapper() { } |
877 virtual void BeforeCall(int call_size) const { } | 877 virtual void BeforeCall(int call_size) const { } |
878 virtual void AfterCall() const { } | 878 virtual void AfterCall() const { } |
879 }; | 879 }; |
880 | 880 |
881 } } // namespace v8::internal | 881 } } // namespace v8::internal |
882 | 882 |
883 #endif // V8_ASSEMBLER_H_ | 883 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |