Home | History | Annotate | Download | only in src

Lines Matching refs:code

6 //     * Redistributions of source code must retain the above copyright
32 #include "code-stubs.h"
87 // - Code
178 // constants can be embedded in generated code.
351 // code for the class including allocation and garbage collection routines,
774 // RuntimeStubs assumes EXCEPTION = 1 in the compiler-generated code.
1031 // from code that allocates and thus invalidates the returned write
1581 // No code should use the Array class directly, only its subclasses.
1628 // Code Generation support.
1987 // To scale a computed hash code to fit within the hash table, we
2585 // Code describes objects with on-the-fly generated machine code.
2586 class Code: public HeapObject {
2588 // Opaque data type for encapsulating code flags like kind, inline
2634 // [flags]: Various code flags.
2638 // [flags]: Access to specific code flags.
2677 // Convert a target address into a code object.
2678 static inline Code* GetCodeFromTargetAddress(Address address);
2689 // Code entry point.
2698 // Relocate the code by delta bytes. Called to signal that this code
2702 // Migrate code described by desc.
2713 // Calculate the size of the code object to report for log events. This takes
2714 // the layout of the code object into account.
2716 // Check that the assumptions about the layout of the code object holds.
2718 Code::kHeaderSize);
2719 return instruction_size() + Code::kHeaderSize;
2727 static inline Code* cast(Object* obj);
2736 // Code entry points are aligned to 32 bytes.
2748 // the Code object header.
2773 DISALLOW_IMPLICIT_CONSTRUCTORS(Code);
2917 // Code cache operations.
2919 // Clears the code cache.
2922 // Update code cache.
2923 Object* UpdateCodeCache(String* name, Code* code);
2925 // Returns the found code or undefined if absent.
2926 Object* FindInCodeCache(String* name, Code::Flags flags);
2928 // Returns the non-negative index of the code object if it is in the
2930 int IndexInCodeCache(Code* code);
2932 // Removes a code object from the code cache at the given index.
3067 // [eval_from_instructions_offset]: the instruction offset in the code for the
3110 // [code]: Function code.
3111 code, Code)
3113 // [construct stub]: Code stub for constructing instances of this function.
3114 DECL_ACCESSORS(construct_stub, Code)
3116 // Returns if this function has been compiled to native code yet.
3128 // Set the formal parameter count so the function code will be
3148 // [start_position_and_type]: Field used to store both the source code
3152 // expression and the rest contains the source code position.
3161 // profiling of JavaScript code written in OO style, where almost
3178 // Is this function a function expression in the source code.
3220 // [source code]: Source code for the function.
3280 // The source code start position is in the 30 most significant bits of
3310 // [code]: The generated code object for this function. Executed
3314 inline Code* code();
3315 inline void set_code(Code* value);
3362 // Returns if this function has been compiled to native code yet.
3549 // - a reference to code for ASCII inputs (bytecode or compiled).
3550 // - a reference to code for UC16 inputs (bytecode or compiled).
3559 // IRREGEXP_NATIVE: Compiled to native code with Irregexp.
3613 // Irregexp compiled code or bytecode for ASCII. If compilation
3617 // Irregexp compiled code or bytecode for UC16. If compilation
3743 // concrete performance benefit at that particular point in the code.
3859 // Tells whether the hash code has been computed.
3905 // Max ascii char code.
3913 // Mask constant for checking if a string has a computed hash code
3915 // whether a hash code has been computed. If the hash code has been
3922 // Shift constant retrieving hash code from hash field.
4008 // Compute and set the hash code.
4023 // For regexp code.
4093 // For regexp code.
4257 // For regexp code.
4773 // Code object for the original code.
4774 DECL_ACCESSORS(original_code, Code)
4775 // Code object for the patched code. This code object is the code object
4777 DECL_ACCESSORS(code, Code)
4781 // Check if there is a break point at a code position.
4783 // Get the break point info object for a code position.
4793 // Get the break point objects for a code position.
4820 // Lookup the index in the break_points array for a code position.
4828 // function. The DebugInfo object holds a BreakPointInfo object for each code
4832 // The position in the code for the break point.
4851 // Get the number of break points for this code position.
4890 // a rich interface for iterating over Code objects..
4892 // Visits a code target in the instruction stream.