Home | History | Annotate | Download | only in x64

Lines Matching refs:buffer

60   // Allocate buffer in executable space.
61 byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB,
64 if (buffer == NULL) {
75 MacroAssembler masm(NULL, buffer, static_cast<int>(actual_size));
96 CPU::FlushICache(buffer, actual_size);
97 OS::ProtectCode(buffer, actual_size);
98 return FUNCTION_CAST<UnaryMathFunction>(buffer);
104 // Allocate buffer in executable space.
105 byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB,
108 if (buffer == NULL) return &sqrt;
110 MacroAssembler masm(NULL, buffer, static_cast<int>(actual_size));
120 CPU::FlushICache(buffer, actual_size);
121 OS::ProtectCode(buffer, actual_size);
122 return FUNCTION_CAST<UnaryMathFunction>(buffer);
131 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
134 CHECK(buffer);
135 Assembler masm(NULL, buffer, static_cast<int>(actual_size));
136 // Generated code is put into a fixed, unmovable, buffer, and not into
209 OS::ProtectCode(buffer, actual_size);
211 return FUNCTION_CAST<ModuloFunction>(buffer);