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

Unified Diff: src/builtins/builtins-interpreter.cc

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: fix GYP builds Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/builtins-call-gen.cc ('k') | src/builtins/builtins-interpreter-gen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-interpreter.cc
diff --git a/src/builtins/builtins-interpreter.cc b/src/builtins/builtins-interpreter.cc
index 3cfa57bcbe62d3beed4d4cdbc54c490a3383f461..22843ac89e50e74a8bbd28a0a4228200a5ba7250 100644
--- a/src/builtins/builtins-interpreter.cc
+++ b/src/builtins/builtins-interpreter.cc
@@ -4,6 +4,8 @@
#include "src/builtins/builtins-utils.h"
#include "src/builtins/builtins.h"
+#include "src/globals.h"
+#include "src/handles-inl.h"
#include "src/objects-inl.h"
namespace v8 {
@@ -32,34 +34,6 @@ Handle<Code> Builtins::InterpreterPushArgsAndCall(
return Handle<Code>::null();
}
-void Builtins::Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndCallImpl(
- masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kOther);
-}
-
-void Builtins::Generate_InterpreterPushArgsAndCallFunction(
- MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndCallImpl(
- masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kJSFunction);
-}
-
-void Builtins::Generate_InterpreterPushArgsAndCallWithFinalSpread(
- MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndCallImpl(
- masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kWithFinalSpread);
-}
-
-void Builtins::Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndCallImpl(
- masm, TailCallMode::kAllow, InterpreterPushArgsMode::kOther);
-}
-
-void Builtins::Generate_InterpreterPushArgsAndTailCallFunction(
- MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndCallImpl(
- masm, TailCallMode::kAllow, InterpreterPushArgsMode::kJSFunction);
-}
-
Handle<Code> Builtins::InterpreterPushArgsAndConstruct(
InterpreterPushArgsMode mode) {
switch (mode) {
@@ -74,22 +48,5 @@ Handle<Code> Builtins::InterpreterPushArgsAndConstruct(
return Handle<Code>::null();
}
-void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndConstructImpl(
- masm, InterpreterPushArgsMode::kOther);
-}
-
-void Builtins::Generate_InterpreterPushArgsAndConstructWithFinalSpread(
- MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndConstructImpl(
- masm, InterpreterPushArgsMode::kWithFinalSpread);
-}
-
-void Builtins::Generate_InterpreterPushArgsAndConstructFunction(
- MacroAssembler* masm) {
- return Generate_InterpreterPushArgsAndConstructImpl(
- masm, InterpreterPushArgsMode::kJSFunction);
-}
-
} // namespace internal
} // namespace v8
« no previous file with comments | « src/builtins/builtins-call-gen.cc ('k') | src/builtins/builtins-interpreter-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698