Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
161 // code below.
176 // changes this code has to be changed as well.
1656 Code::Flags flags;
1681 // Code::Flags names a non-abstract type.
1688 functions[builtin_count].flags = static_cast<Code::Flags>(0);
1696 functions->flags = Code::ComputeFlags(Code::BUILTIN); \
1705 functions->flags = Code::ComputeFlags(Code::kind, \
1730 // For now we generate builtin adaptor code into a stack-allocated
1731 // buffer, before copying it into individual code objects. Be careful
1732 // with alignment, some platforms don't like unaligned code.
1736 // separate code object for each one.
1740 // Generate the code/adaptor.
1748 // Move the code into the object heap.
1751 Code::Flags flags = functions[i].flags;
1752 Object* code = NULL;
1759 if (!maybe_code->ToObject(&code)) {
1764 // Log the event and add the code to the builtins array.
1767 Code::cast(code),
1771 Code::cast(code)));
1772 builtins_[i] = code;
1776 Code::cast(code)->Disassemble(functions[i].s_name);
1806 Code* entry = Code::cast(builtins_[i]);
1817 Handle<Code> Builtins::name() { \
1818 Code** code_address = \
1819 reinterpret_cast<Code**>(builtin_address(k##name)); \
1820 return Handle<Code>(code_address); \
1823 Handle<Code> Builtins::name() { \
1824 Code** code_address = \
1825 reinterpret_cast<Code**>(builtin_address(k##name)); \
1826 return Handle<Code>(code_address); \