Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
32 #include "code-stubs.h"
145 virtual int GetCodeKind() { return Code::UNARY_OP_IC; }
151 virtual void FinishCode(Handle<Code> code) {
152 code->set_unary_op_type(operand_type_);
232 virtual int GetCodeKind() { return Code::BINARY_OP_IC; }
238 virtual void FinishCode(Handle<Code> code) {
239 code->set_binary_op_type(operands_type_);
240 code->set_binary_op_result_type(result_type_);
249 // Generate code for copying characters using a simple loop. This should only
260 // Generate code for copying characters using the rep movs instruction.
276 // string is found the code falls through with the string in
305 // Flag that indicates how to generate code for the stub StringAddStub.
392 // Generate code to do a lookup in the number string cache. If the number in
393 // the register object is found in the cache the generated code falls through
395 // can be the same. If the number is not found in the cache the code jumps to
457 return DictionaryBits::encode(dictionary_.code()) |
458 ResultBits::encode(result_.code()) |
459 IndexBits::encode(index_.code()) |
508 static Mode GetMode(Code* stub) {
527 static void Patch(Code* stub, Mode mode) {
708 return ObjectBits::encode(object_.code()) |
709 ValueBits::encode(value_.code()) |
710 AddressBits::encode(address_.code()) |
715 void Activate(Code* code) {
716 code->GetHeap()->incremental_marking()->ActivateGeneratedStub(code);