| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/api.h" | 7 #include "src/api.h" |
| 8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
| 9 #include "src/base/once.h" | 9 #include "src/base/once.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1677 if (entry->contains(pc)) { | 1677 if (entry->contains(pc)) { |
| 1678 return names_[i]; | 1678 return names_[i]; |
| 1679 } | 1679 } |
| 1680 } | 1680 } |
| 1681 } | 1681 } |
| 1682 return NULL; | 1682 return NULL; |
| 1683 } | 1683 } |
| 1684 | 1684 |
| 1685 | 1685 |
| 1686 void Builtins::Generate_InterruptCheck(MacroAssembler* masm) { | 1686 void Builtins::Generate_InterruptCheck(MacroAssembler* masm) { |
| 1687 masm->TailCallRuntime(Runtime::kHiddenInterrupt, 0, 1); | 1687 masm->TailCallRuntime(Runtime::kInterrupt, 0, 1); |
| 1688 } | 1688 } |
| 1689 | 1689 |
| 1690 | 1690 |
| 1691 void Builtins::Generate_StackCheck(MacroAssembler* masm) { | 1691 void Builtins::Generate_StackCheck(MacroAssembler* masm) { |
| 1692 masm->TailCallRuntime(Runtime::kHiddenStackGuard, 0, 1); | 1692 masm->TailCallRuntime(Runtime::kStackGuard, 0, 1); |
| 1693 } | 1693 } |
| 1694 | 1694 |
| 1695 | 1695 |
| 1696 #define DEFINE_BUILTIN_ACCESSOR_C(name, ignore) \ | 1696 #define DEFINE_BUILTIN_ACCESSOR_C(name, ignore) \ |
| 1697 Handle<Code> Builtins::name() { \ | 1697 Handle<Code> Builtins::name() { \ |
| 1698 Code** code_address = \ | 1698 Code** code_address = \ |
| 1699 reinterpret_cast<Code**>(builtin_address(k##name)); \ | 1699 reinterpret_cast<Code**>(builtin_address(k##name)); \ |
| 1700 return Handle<Code>(code_address); \ | 1700 return Handle<Code>(code_address); \ |
| 1701 } | 1701 } |
| 1702 #define DEFINE_BUILTIN_ACCESSOR_A(name, kind, state, extra) \ | 1702 #define DEFINE_BUILTIN_ACCESSOR_A(name, kind, state, extra) \ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1713 } | 1713 } |
| 1714 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1714 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
| 1715 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1715 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 1716 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 1716 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
| 1717 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1717 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 1718 #undef DEFINE_BUILTIN_ACCESSOR_C | 1718 #undef DEFINE_BUILTIN_ACCESSOR_C |
| 1719 #undef DEFINE_BUILTIN_ACCESSOR_A | 1719 #undef DEFINE_BUILTIN_ACCESSOR_A |
| 1720 | 1720 |
| 1721 | 1721 |
| 1722 } } // namespace v8::internal | 1722 } } // namespace v8::internal |
| OLD | NEW |