Lines Matching defs:code
6 // * Redistributions of source code must retain the above copyright
42 // inline caching code. The argument for the macro, ICU, is the function name.
66 // The ids for utility called from the generated code.
77 // Alias the inline cache state type to make the IC code more readable.
80 // The IC code is either invoked with no extra frames on the stack
92 Code* target() { return GetTargetAtAddress(address()); }
96 static State StateFrom(Code* target, Object* receiver);
102 // operation as it has to search through the heap to find the code
130 // Computes the address in the original code when the code running is
136 void set_target(Code* code) { SetTargetAtAddress(address(), code); }
142 Code* new_target,
151 // Access the target code for the given IC address.
152 static inline Code* GetTargetAtAddress(Address address);
153 static inline void SetTargetAtAddress(Address address, Code* target);
160 // to make the code GC safe. This feature is crucial since
192 // Code generator routines.
215 static void Clear(Address address, Code* target);
226 // Code generator routines.
235 // Specialized code generator routines.
254 static Code* megamorphic_stub() {
257 static Code* initialize_stub() {
260 static Code* pre_monomorphic_stub() {
264 static void Clear(Address address, Code* target);
281 // Code generator routines.
317 static Code* initialize_stub() {
320 static Code* megamorphic_stub() {
323 static Code* generic_stub() {
326 static Code* pre_monomorphic_stub() {
329 static Code* string_stub() {
332 static Code* external_array_stub(JSObject::ElementsKind elements_kind);
334 static Code* indexed_interceptor_stub() {
338 static void Clear(Address address, Code* target);
357 // Code generators for stub routines. Only called once at startup.
371 static Code* megamorphic_stub() {
374 static Code* initialize_stub() {
378 static void Clear(Address address, Code* target);
392 // Code generators for stub routines. Only called once at startup.
420 static Code* initialize_stub() {
423 static Code* megamorphic_stub() {
426 static Code* generic_stub() {
429 static Code* external_array_stub(JSObject::ElementsKind elements_kind);
431 static void Clear(Address address, Code* target);
438 // The map is the new map that the inlined code should check against.