Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
170 Handle<Code> compiled_code() const { return Handle<Code>(compiled_code_); }
195 // information of a code object to perform lazy deoptimization
199 static void EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code);
201 // Deoptimize the function now. Its current optimized code will never be run
202 // again and any activations of the optimized code will get deoptimized when
206 // Iterate over all the functions which share the same code object
208 static void ReplaceCodeForRelatedFunctions(JSFunction* function, Code* code);
218 static void DeoptimizeCodeList(Isolate* isolate, ZoneList<Code*>* codes);
229 // The size in bytes of the code required at a lazy deopt patch site.
232 // Patch all interrupts with allowed loop depth in the unoptimized code to
234 static void PatchInterruptCode(Code* unoptimized_code,
235 Code* interrupt_code,
236 Code* replacement_code);
239 // the unoptimized code to unconditionally call replacement_code.
240 static void PatchInterruptCodeAt(Code* unoptimized_code,
242 Code* interrupt_code,
243 Code* replacement_code);
245 // Change all patched interrupts patched in the unoptimized code
247 static void RevertInterruptCode(Code* unoptimized_code,
248 Code* interrupt_code,
249 Code* replacement_code);
251 // Change patched interrupt in the unoptimized code
253 static void RevertInterruptCodeAt(Code* unoptimized_code,
255 Code* interrupt_code,
256 Code* replacement_code);
259 static bool InterruptCodeIsPatched(Code* unoptimized_code,
261 Code* interrupt_code,
262 Code* replacement_code);
265 static void VerifyInterruptCode(Code* unoptimized_code,
266 Code* interrupt_code,
267 Code* replacement_code,
304 // Code generation support.
319 // Generators for the deoptimization entry code.
374 Code* optimized_code);
375 Code* FindOptimizedCode(JSFunction* function, Code* optimized_code);
446 // Weak handle callback for deoptimizing code objects.
451 // Deoptimize the given code and add to appropriate deoptimization lists.
452 static void DeoptimizeCode(Isolate* isolate, Code* code);
454 // Patch the given code so that it will deoptimize itself.
455 static void PatchCodeForDeoptimization(Isolate* isolate, Code* code);
459 // deoptimizations the input frame is filled in generated code.
477 Code* compiled_code_;
692 Code* FindDeoptimizingCode(Address addr);
693 void RemoveDeoptimizingCode(Code* code);
705 // List of deoptimized code which still have references from active stack
706 // frames. These code objects are needed by the deoptimizer when deoptimizing
707 // a frame for which the code object for the function function has been
708 // changed from the code present when deoptimizing was done.
827 // Linked list holding deoptimizing code objects. The deoptimizing code objects
831 explicit DeoptimizingCodeListNode(Code* code);
836 Handle<Code> code() const { return code_; }
839 // Global (weak) handle to the deoptimizing code object.
840 Handle<Code> code_;