| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 extra); \ | 1651 extra); \ |
| 1652 functions->extra_args = NO_EXTRA_ARGUMENTS; \ | 1652 functions->extra_args = NO_EXTRA_ARGUMENTS; \ |
| 1653 ++functions; | 1653 ++functions; |
| 1654 | 1654 |
| 1655 #define DEF_FUNCTION_PTR_H(aname, kind) \ | 1655 #define DEF_FUNCTION_PTR_H(aname, kind) \ |
| 1656 functions->generator = FUNCTION_ADDR(Generate_##aname); \ | 1656 functions->generator = FUNCTION_ADDR(Generate_##aname); \ |
| 1657 functions->c_code = NULL; \ | 1657 functions->c_code = NULL; \ |
| 1658 functions->s_name = #aname; \ | 1658 functions->s_name = #aname; \ |
| 1659 functions->name = k##aname; \ | 1659 functions->name = k##aname; \ |
| 1660 functions->flags = Code::ComputeFlags( \ | 1660 functions->flags = Code::ComputeFlags( \ |
| 1661 Code::HANDLER, MONOMORPHIC, Code::kNoExtraICState, \ | 1661 Code::HANDLER, MONOMORPHIC, kNoExtraICState, \ |
| 1662 Code::NORMAL, Code::kind); \ | 1662 Code::NORMAL, Code::kind); \ |
| 1663 functions->extra_args = NO_EXTRA_ARGUMENTS; \ | 1663 functions->extra_args = NO_EXTRA_ARGUMENTS; \ |
| 1664 ++functions; | 1664 ++functions; |
| 1665 | 1665 |
| 1666 BUILTIN_LIST_C(DEF_FUNCTION_PTR_C) | 1666 BUILTIN_LIST_C(DEF_FUNCTION_PTR_C) |
| 1667 BUILTIN_LIST_A(DEF_FUNCTION_PTR_A) | 1667 BUILTIN_LIST_A(DEF_FUNCTION_PTR_A) |
| 1668 BUILTIN_LIST_H(DEF_FUNCTION_PTR_H) | 1668 BUILTIN_LIST_H(DEF_FUNCTION_PTR_H) |
| 1669 BUILTIN_LIST_DEBUG_A(DEF_FUNCTION_PTR_A) | 1669 BUILTIN_LIST_DEBUG_A(DEF_FUNCTION_PTR_A) |
| 1670 | 1670 |
| 1671 #undef DEF_FUNCTION_PTR_C | 1671 #undef DEF_FUNCTION_PTR_C |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1799 } | 1799 } |
| 1800 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1800 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
| 1801 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1801 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 1802 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 1802 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
| 1803 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1803 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 1804 #undef DEFINE_BUILTIN_ACCESSOR_C | 1804 #undef DEFINE_BUILTIN_ACCESSOR_C |
| 1805 #undef DEFINE_BUILTIN_ACCESSOR_A | 1805 #undef DEFINE_BUILTIN_ACCESSOR_A |
| 1806 | 1806 |
| 1807 | 1807 |
| 1808 } } // namespace v8::internal | 1808 } } // namespace v8::internal |
| OLD | NEW |