Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
36 // List of code stubs used on all platforms. The order in this list is important
69 // List of code stubs only used on ARM platforms.
81 // List of code stubs only used on MIPS platforms.
89 // Combined list of code stubs.
111 // Retrieve the code for the stub. Generate the code if needed.
112 Handle<Code> GetCode();
114 // Retrieve the code for the stub if already generated. Do not
115 // generate the code if not already generated and instead return a
126 // Gets the major key from a code object that is a code stub or binary op IC.
127 static Major GetMajorKey(Code* code_stub) {
140 // Lookup the code in the (possibly custom) cache.
141 bool FindCodeInCache(Code** code_out);
144 // this function to set up the macro assembler and generate the code.
147 // Generates the assembler code for the stub.
150 // Perform bookkeeping required after code generation when stub code is
152 void RecordCodeGeneration(Code* code, MacroAssembler* masm);
154 // Finish the code object after it has been generated.
155 virtual void FinishCode(Code* code) { }
176 // Returns whether the code generated for this stub needs to be allocated as
177 // a fixed (non-moveable) code object.
219 #include "ia32/code-stubs-ia32.h"
221 #include "x64/code-stubs-x64.h"
223 #include "arm/code-stubs-arm.h"
225 #include "mips/code-stubs-mips.h"
465 virtual void FinishCode(Code* code) { code->set_compare_state(state_); }
470 virtual int GetCodeKind() { return Code::COMPARE_IC; }
485 // Flags that control the compare stub code generation.
539 // Do generate the number comparison code in the stub. Stubs without number
540 // comparison code is used when the number comparison has been inlined, and
544 // Generate the comparison code for two smi operands in the stub.
567 virtual int GetCodeKind() { return Code::COMPARE_IC; }
568 virtual void FinishCode(Code* code) {
569 code->set_compare_state(CompareIC::GENERIC);
594 PrintF("(lhs r%d), (rhs r%d)\n", lhs_.code(), rhs_.code());
804 // Generates code implementing String.prototype.charCodeAt.
839 // Generates the fast case code. On the fallthrough path |result|
843 // Generates the slow case code. Must not be naturally
845 // deferred code). Always jumps back to the fast case.
870 // Generates code for creating a one-char string from a char code.
873 StringCharFromCodeGenerator(Register code,
875 : code_(code),
880 // Generates the fast case code. On the fallthrough path |result|
884 // Generates the slow case code. Must not be naturally
886 // deferred code). Always jumps back to the fast case.
901 // Generates code implementing String.prototype.charAt.
932 // Generates the fast case code. On the fallthrough path |result|
936 // Generates the slow case code. Must not be naturally
938 // deferred code). Always jumps back to the fast case.