Home | History | Annotate | Download | only in src

Lines Matching defs:Code

6 //     * Redistributions of source code must retain the above copyright
89 // - Code
207 // constants can be embedded in generated code.
406 // code for the class including allocation and garbage collection routines,
719 V(Code) \
925 // RuntimeStubs assumes EXCEPTION = 1 in the compiler-generated code.
1185 // from code that allocates and thus invalidates the returned write
1369 // be quickly accessed. This fact is used in the generated code. The
1741 MUST_USE_RESULT MaybeObject* UpdateMapCodeCache(String* name, Code* code);
1972 // Code Generation support.
2366 // To scale a computed hash code to fit within the hash table, we
3109 // data for code generated by the Hydrogen/Lithium compiler. It also
3195 // data for code generated by the full compiler.
3227 // Code describes objects with on-the-fly generated machine code.
3228 class Code: public HeapObject {
3230 // Opaque data type for encapsulating code flags like kind, inline
3287 // [relocation_info]: Code relocation information
3300 // [flags]: Various code flags.
3304 // [flags]: Access to specific code flags.
3352 // reserved in the code prologue.
3373 // array that the code stub is specialized for.
3391 // Mark this code object as not having a stack check table. Assumes kind
3425 // Convert a target address into a code object.
3426 static inline Code* GetCodeFromTargetAddress(Address address);
3443 // Code entry point.
3449 // Relocate the code by delta bytes. Called to signal that this code
3453 // Migrate code described by desc.
3462 // Calculate the size of the code object to report for log events. This takes
3463 // the layout of the code object into account.
3465 // Check that the assumptions about the layout of the code object holds.
3467 Code::kHeaderSize);
3468 return instruction_size() + Code::kHeaderSize;
3476 static inline Code* cast(Object* obj);
3494 // Returns the isolate/heap this code object belongs to.
3516 // the Code object header.
3559 DISALLOW_IMPLICIT_CONSTRUCTORS(Code);
3784 // Code cache operations.
3786 // Clears the code cache.
3789 // Update code cache.
3790 MUST_USE_RESULT MaybeObject* UpdateCodeCache(String* name, Code* code);
3792 // Returns the found code or undefined if absent.
3793 Object* FindInCodeCache(String* name, Code::Flags flags);
3795 // Returns the non-negative index of the code object if it is in the
3797 int IndexInCodeCache(Object* name, Code* code);
3799 // Removes a code object from the code cache at the given index.
3800 void RemoveFromCodeCache(String* name, Code* code, int index);
3857 // Layout of pointer fields. Heap iteration code relies on them
3901 // Layout of the default cache. It holds alternating name and code objects.
3979 // [eval_from_instructions_offset]: the instruction offset in the code for the
4020 // List of builtin functions we want to identify to improve code
4074 // [code]: Function code.
4075 DECL_ACCESSORS(code, Code)
4080 // [construct stub]: Code stub for constructing instances of this function.
4081 DECL_ACCESSORS(construct_stub, Code)
4083 inline Code* unchecked_code();
4085 // Returns if this function has been compiled to native code yet.
4097 // Set the formal parameter count so the function code will be
4222 // [start_position_and_type]: Field used to store both the source code
4226 // expression and the rest contains the source code position.
4235 // profiling of JavaScript code written in OO style, where almost
4255 // Is this function a function expression in the source code.
4286 // This is used to determine if we can safely flush code from a function
4292 // code object. Used to determine when it is relatively safe to flush
4293 // this code object and replace it with lazy compilation stub.
4294 // Age is reset when GC notices that the code object is referenced
4310 // Indicates whether or not the code in the shared function support
4314 // Enable deoptimization support through recompiled code.
4315 void EnableDeoptimizationSupport(Code* recompiled);
4318 // code, returns whether it asserted (i.e., always true if assertions are
4340 // [source code]: Source code for the function.
4475 // The source code start position is in the 30 most significant bits of
4541 // [code]: The generated code object for this function. Executed
4545 inline Code* code();
4546 inline void set_code(Code* code);
4547 inline void ReplaceCode(Code* code);
4549 inline Code* unchecked_code();
4571 // Compute a hash code for the source code of this function.
4620 // Returns if this function has been compiled to native code yet.
4636 // Iterates the objects, including code objects indirectly referenced
4637 // through pointers to the first instruction in the code object.
4798 // Accessors for code of the runtime routines written in JavaScript.
4799 inline Code* javascript_builtin_code(Builtins::JavaScript id);
4800 inline void set_javascript_builtin_code(Builtins::JavaScript id, Code* value);
4818 // (function and code object).
4872 // prevent leaking information to user code called during error
4939 // - a reference to code for ASCII inputs (bytecode or compiled).
4940 // - a reference to code for UC16 inputs (bytecode or compiled).
4949 // IRREGEXP_NATIVE: Compiled to native code with Irregexp.
5003 // Irregexp compiled code or bytecode for ASCII. If compilation
5007 // Irregexp compiled code or bytecode for UC16. If compilation
5090 // Add the code object to the cache.
5091 MUST_USE_RESULT MaybeObject* Update(String* name, Code* code);
5093 // Lookup code object in the cache. Returns code object if found and undefined
5095 Object* Lookup(String* name, Code::Flags flags);
5097 // Get the internal index of a code object in the cache. Returns -1 if the
5098 // code object is not in that cache. This index can be used to later call
5101 int GetIndex(Object* name, Code* code);
5104 void RemoveByIndex(Object* name, Code* code, int index);
5124 MUST_USE_RESULT MaybeObject* UpdateDefaultCache(String* name, Code* code);
5125 MUST_USE_RESULT MaybeObject* UpdateNormalTypeCache(String* name, Code* code);
5126 Object* LookupDefaultCache(String* name, Code::Flags flags);
5127 Object* LookupNormalTypeCache(String* name, Code::Flags flags);
5129 // Code cache layout of the default cache. Elements are alternating name and
5130 // code objects for non normal load/store/call IC's.
5165 Object* Lookup(String* name, Code::Flags flags);
5166 MUST_USE_RESULT MaybeObject* Put(String* name, Code* code);
5168 int GetIndex(String* name, Code::Flags flags);
5252 // concrete performance benefit at that particular point in the code.
5392 // Tells whether the hash code has been computed.
5442 // Max ascii char code.
5450 // Mask constant for checking if a string has a computed hash code
5452 // whether a hash code has been computed. If the hash code has been
5459 // Shift constant retrieving hash code from hash field.
5603 // Compute and set the hash code.
5688 // For regexp code.
5857 // For regexp code.
6476 // Code object for the original code.
6477 DECL_ACCESSORS(original_code, Code)
6478 // Code object for the patched code. This code object is the code object
6480 DECL_ACCESSORS(code, Code)
6484 // Check if there is a break point at a code position.
6486 // Get the break point info object for a code position.
6496 // Get the break point objects for a code position.
6528 // Lookup the index in the break_points array for a code position.
6536 // function. The DebugInfo object holds a BreakPointInfo object for each code
6540 // The position in the code for the break point.
6559 // Get the number of break points for this code position.
6603 // a rich interface for iterating over Code objects..
6605 // Visits a code target in the instruction stream.
6608 // Visits a code entry in a JS function.