Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
151 // code below.
166 // changes this code has to be changed as well.
1571 Code::Flags flags;
1596 // Code::Flags names a non-abstract type.
1603 functions[builtin_count].flags = static_cast<Code::Flags>(0);
1611 functions->flags = Code::ComputeFlags(Code::BUILTIN); \
1620 functions->flags = Code::ComputeFlags(Code::kind, \
1644 // For now we generate builtin adaptor code into a stack-allocated
1645 // buffer, before copying it into individual code objects. Be careful
1646 // with alignment, some platforms don't like unaligned code.
1650 // separate code object for each one.
1654 // Generate the code/adaptor.
1662 // Move the code into the object heap.
1665 Code::Flags flags = functions[i].flags;
1666 Object* code = NULL;
1673 if (!maybe_code->ToObject(&code)) {
1678 // Log the event and add the code to the builtins array.
1681 Code::cast(code),
1685 Code::cast(code)));
1686 builtins_[i] = code;
1690 Code::cast(code)->Disassemble(functions[i].s_name);
1720 Code* entry = Code::cast(builtins_[i]);
1731 Handle<Code> Builtins::name() { \
1732 Code** code_address = \
1733 reinterpret_cast<Code**>(builtin_address(k##name)); \
1734 return Handle<Code>(code_address); \
1737 Handle<Code> Builtins::name() { \
1738 Code** code_address = \
1739 reinterpret_cast<Code**>(builtin_address(k##name)); \
1740 return Handle<Code>(code_address); \