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 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1699 if (entry->contains(pc)) { | 1699 if (entry->contains(pc)) { |
1700 return names_[i]; | 1700 return names_[i]; |
1701 } | 1701 } |
1702 } | 1702 } |
1703 } | 1703 } |
1704 return NULL; | 1704 return NULL; |
1705 } | 1705 } |
1706 | 1706 |
1707 | 1707 |
1708 void Builtins::Generate_InterruptCheck(MacroAssembler* masm) { | 1708 void Builtins::Generate_InterruptCheck(MacroAssembler* masm) { |
1709 masm->TailCallRuntime(Runtime::kInterrupt, 0, 1); | 1709 masm->TailCallRuntime(Runtime::kHiddenInterrupt, 0, 1); |
1710 } | 1710 } |
1711 | 1711 |
1712 | 1712 |
1713 void Builtins::Generate_StackCheck(MacroAssembler* masm) { | 1713 void Builtins::Generate_StackCheck(MacroAssembler* masm) { |
1714 masm->TailCallRuntime(Runtime::kStackGuard, 0, 1); | 1714 masm->TailCallRuntime(Runtime::kHiddenStackGuard, 0, 1); |
1715 } | 1715 } |
1716 | 1716 |
1717 | 1717 |
1718 #define DEFINE_BUILTIN_ACCESSOR_C(name, ignore) \ | 1718 #define DEFINE_BUILTIN_ACCESSOR_C(name, ignore) \ |
1719 Handle<Code> Builtins::name() { \ | 1719 Handle<Code> Builtins::name() { \ |
1720 Code** code_address = \ | 1720 Code** code_address = \ |
1721 reinterpret_cast<Code**>(builtin_address(k##name)); \ | 1721 reinterpret_cast<Code**>(builtin_address(k##name)); \ |
1722 return Handle<Code>(code_address); \ | 1722 return Handle<Code>(code_address); \ |
1723 } | 1723 } |
1724 #define DEFINE_BUILTIN_ACCESSOR_A(name, kind, state, extra) \ | 1724 #define DEFINE_BUILTIN_ACCESSOR_A(name, kind, state, extra) \ |
(...skipping 10 matching lines...) Expand all Loading... |
1735 } | 1735 } |
1736 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1736 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
1737 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1737 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
1738 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 1738 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
1739 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1739 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
1740 #undef DEFINE_BUILTIN_ACCESSOR_C | 1740 #undef DEFINE_BUILTIN_ACCESSOR_C |
1741 #undef DEFINE_BUILTIN_ACCESSOR_A | 1741 #undef DEFINE_BUILTIN_ACCESSOR_A |
1742 | 1742 |
1743 | 1743 |
1744 } } // namespace v8::internal | 1744 } } // namespace v8::internal |
OLD | NEW |