63 Register t1, // temp register
64 Register t2, // temp register
65 Register t3, // temp register
66 int hdr_size, // object header size in words
67 int obj_size, // object size in words
68 Register klass, // object klass
69 Label& slow_case // continuation point if fast allocation fails
70 );
71
72 enum {
73 max_array_allocation_length = 0x40000000 // ppc friendly value, requires lis only
74 };
75
76 // Allocation of arrays
77 void allocate_array(
78 Register obj, // result: pointer to array after successful allocation
79 Register len, // array length
80 Register t1, // temp register
81 Register t2, // temp register
82 Register t3, // temp register
83 int hdr_size, // object header size in words
84 int elt_size, // element size in bytes
85 Register klass, // object klass
86 Label& slow_case // continuation point if fast allocation fails
87 );
88
89 void null_check(Register r, Label *Lnull = nullptr);
90
91 address call_c_with_frame_resize(address dest, int frame_resize);
92
93 #endif // CPU_PPC_C1_MACROASSEMBLER_PPC_HPP
|
63 Register t1, // temp register
64 Register t2, // temp register
65 Register t3, // temp register
66 int hdr_size, // object header size in words
67 int obj_size, // object size in words
68 Register klass, // object klass
69 Label& slow_case // continuation point if fast allocation fails
70 );
71
72 enum {
73 max_array_allocation_length = 0x40000000 // ppc friendly value, requires lis only
74 };
75
76 // Allocation of arrays
77 void allocate_array(
78 Register obj, // result: pointer to array after successful allocation
79 Register len, // array length
80 Register t1, // temp register
81 Register t2, // temp register
82 Register t3, // temp register
83 int base_offset_in_bytes, // elements offset in bytes
84 int elt_size, // element size in bytes
85 Register klass, // object klass
86 Label& slow_case // continuation point if fast allocation fails
87 );
88
89 void null_check(Register r, Label *Lnull = nullptr);
90
91 address call_c_with_frame_resize(address dest, int frame_resize);
92
93 #endif // CPU_PPC_C1_MACROASSEMBLER_PPC_HPP
|