Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: src/builtins.cc

Issue 1550923002: Remove uses of result size in TailCallRuntime and friends (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: change spaces Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/builtins.h" 5 #include "src/builtins.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/base/once.h" 10 #include "src/base/once.h"
(...skipping 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 if (entry->contains(pc)) { 2707 if (entry->contains(pc)) {
2708 return names_[i]; 2708 return names_[i];
2709 } 2709 }
2710 } 2710 }
2711 } 2711 }
2712 return NULL; 2712 return NULL;
2713 } 2713 }
2714 2714
2715 2715
2716 void Builtins::Generate_InterruptCheck(MacroAssembler* masm) { 2716 void Builtins::Generate_InterruptCheck(MacroAssembler* masm) {
2717 masm->TailCallRuntime(Runtime::kInterrupt, 0, 1); 2717 masm->TailCallRuntime(Runtime::kInterrupt, 0);
2718 } 2718 }
2719 2719
2720 2720
2721 void Builtins::Generate_StackCheck(MacroAssembler* masm) { 2721 void Builtins::Generate_StackCheck(MacroAssembler* masm) {
2722 masm->TailCallRuntime(Runtime::kStackGuard, 0, 1); 2722 masm->TailCallRuntime(Runtime::kStackGuard, 0);
2723 } 2723 }
2724 2724
2725 2725
2726 #define DEFINE_BUILTIN_ACCESSOR_C(name, ignore) \ 2726 #define DEFINE_BUILTIN_ACCESSOR_C(name, ignore) \
2727 Handle<Code> Builtins::name() { \ 2727 Handle<Code> Builtins::name() { \
2728 Code** code_address = \ 2728 Code** code_address = \
2729 reinterpret_cast<Code**>(builtin_address(k##name)); \ 2729 reinterpret_cast<Code**>(builtin_address(k##name)); \
2730 return Handle<Code>(code_address); \ 2730 return Handle<Code>(code_address); \
2731 } 2731 }
2732 #define DEFINE_BUILTIN_ACCESSOR_A(name, kind, state, extra) \ 2732 #define DEFINE_BUILTIN_ACCESSOR_A(name, kind, state, extra) \
(...skipping 11 matching lines...) Expand all
2744 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 2744 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
2745 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 2745 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
2746 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 2746 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
2747 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 2747 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
2748 #undef DEFINE_BUILTIN_ACCESSOR_C 2748 #undef DEFINE_BUILTIN_ACCESSOR_C
2749 #undef DEFINE_BUILTIN_ACCESSOR_A 2749 #undef DEFINE_BUILTIN_ACCESSOR_A
2750 2750
2751 2751
2752 } // namespace internal 2752 } // namespace internal
2753 } // namespace v8 2753 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698