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 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1592 state, \ | 1592 state, \ |
1593 extra); \ | 1593 extra); \ |
1594 functions->extra_args = NO_EXTRA_ARGUMENTS; \ | 1594 functions->extra_args = NO_EXTRA_ARGUMENTS; \ |
1595 ++functions; | 1595 ++functions; |
1596 | 1596 |
1597 #define DEF_FUNCTION_PTR_H(aname, kind) \ | 1597 #define DEF_FUNCTION_PTR_H(aname, kind) \ |
1598 functions->generator = FUNCTION_ADDR(Generate_##aname); \ | 1598 functions->generator = FUNCTION_ADDR(Generate_##aname); \ |
1599 functions->c_code = NULL; \ | 1599 functions->c_code = NULL; \ |
1600 functions->s_name = #aname; \ | 1600 functions->s_name = #aname; \ |
1601 functions->name = k##aname; \ | 1601 functions->name = k##aname; \ |
1602 functions->flags = Code::ComputeFlags( \ | 1602 functions->flags = Code::ComputeHandlerFlags(Code::kind); \ |
1603 Code::HANDLER, MONOMORPHIC, kNoExtraICState, \ | |
1604 Code::NORMAL, Code::kind); \ | |
1605 functions->extra_args = NO_EXTRA_ARGUMENTS; \ | 1603 functions->extra_args = NO_EXTRA_ARGUMENTS; \ |
1606 ++functions; | 1604 ++functions; |
1607 | 1605 |
1608 BUILTIN_LIST_C(DEF_FUNCTION_PTR_C) | 1606 BUILTIN_LIST_C(DEF_FUNCTION_PTR_C) |
1609 BUILTIN_LIST_A(DEF_FUNCTION_PTR_A) | 1607 BUILTIN_LIST_A(DEF_FUNCTION_PTR_A) |
1610 BUILTIN_LIST_H(DEF_FUNCTION_PTR_H) | 1608 BUILTIN_LIST_H(DEF_FUNCTION_PTR_H) |
1611 BUILTIN_LIST_DEBUG_A(DEF_FUNCTION_PTR_A) | 1609 BUILTIN_LIST_DEBUG_A(DEF_FUNCTION_PTR_A) |
1612 | 1610 |
1613 #undef DEF_FUNCTION_PTR_C | 1611 #undef DEF_FUNCTION_PTR_C |
1614 #undef DEF_FUNCTION_PTR_A | 1612 #undef DEF_FUNCTION_PTR_A |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1743 } | 1741 } |
1744 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1742 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
1745 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1743 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
1746 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 1744 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
1747 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1745 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
1748 #undef DEFINE_BUILTIN_ACCESSOR_C | 1746 #undef DEFINE_BUILTIN_ACCESSOR_C |
1749 #undef DEFINE_BUILTIN_ACCESSOR_A | 1747 #undef DEFINE_BUILTIN_ACCESSOR_A |
1750 | 1748 |
1751 | 1749 |
1752 } } // namespace v8::internal | 1750 } } // namespace v8::internal |
OLD | NEW |