Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
82 // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
85 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub.
148 virtual int GetCodeKind() { return Code::UNARY_OP_IC; }
154 virtual void FinishCode(Handle<Code> code) {
155 code->set_unary_op_type(operand_type_);
234 virtual int GetCodeKind() { return Code::BINARY_OP_IC; }
240 virtual void FinishCode(Handle<Code> code) {
241 code->set_binary_op_type(operands_type_);
242 code->set_binary_op_result_type(result_type_);
251 // Generate code for copying characters using a simple loop. This should only
261 // Generate code for copying characters using the rep movs instruction.
274 // string is found the code falls through with the string in register rax.
302 // Flag that indicates how to generate code for the stub StringAddStub.
390 // Generate code to do a lookup in the number string cache. If the number in
391 // the register object is found in the cache the generated code falls through
393 // can be the same. If the number is not found in the cache the code jumps to
459 return DictionaryBits::encode(dictionary_.code()) |
460 ResultBits::encode(result_.code()) |
461 IndexBits::encode(index_.code()) |
510 static Mode GetMode(Code* stub) {
529 static void Patch(Code* stub, Mode mode) {
690 return ObjectBits::encode(object_.code()) |
691 ValueBits::encode(value_.code()) |
692 AddressBits::encode(address_.code()) |
697 void Activate(Code* code) {
698 code->GetHeap()->incremental_marking()->ActivateGeneratedStub(code);