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

Side by Side Diff: src/compiler/bytecode-graph-builder.h

Issue 1676883002: [runtime] Optimize and unify rest parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/compiler/bytecode-branch-analysis.h" 9 #include "src/compiler/bytecode-branch-analysis.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 interpreter::Register callee, 114 interpreter::Register callee,
115 interpreter::Register first_arg, size_t arity); 115 interpreter::Register first_arg, size_t arity);
116 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, 116 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op,
117 interpreter::Register first_arg, 117 interpreter::Register first_arg,
118 size_t arity); 118 size_t arity);
119 119
120 void BuildCreateLiteral(const Operator* op); 120 void BuildCreateLiteral(const Operator* op);
121 void BuildCreateRegExpLiteral(); 121 void BuildCreateRegExpLiteral();
122 void BuildCreateArrayLiteral(); 122 void BuildCreateArrayLiteral();
123 void BuildCreateObjectLiteral(); 123 void BuildCreateObjectLiteral();
124 void BuildCreateArguments(CreateArgumentsParameters::Type type, int index); 124 void BuildCreateArguments(CreateArgumentsType type);
125 void BuildLoadGlobal(TypeofMode typeof_mode); 125 void BuildLoadGlobal(TypeofMode typeof_mode);
126 void BuildStoreGlobal(); 126 void BuildStoreGlobal();
127 void BuildNamedLoad(); 127 void BuildNamedLoad();
128 void BuildKeyedLoad(); 128 void BuildKeyedLoad();
129 void BuildNamedStore(); 129 void BuildNamedStore();
130 void BuildKeyedStore(); 130 void BuildKeyedStore();
131 void BuildLdaLookupSlot(TypeofMode typeof_mode); 131 void BuildLdaLookupSlot(TypeofMode typeof_mode);
132 void BuildStaLookupSlot(LanguageMode language_mode); 132 void BuildStaLookupSlot(LanguageMode language_mode);
133 void BuildCall(); 133 void BuildCall();
134 void BuildCallJSRuntime(); 134 void BuildCallJSRuntime();
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 ZoneVector<Node*> exit_controls_; 254 ZoneVector<Node*> exit_controls_;
255 255
256 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 256 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
257 }; 257 };
258 258
259 } // namespace compiler 259 } // namespace compiler
260 } // namespace internal 260 } // namespace internal
261 } // namespace v8 261 } // namespace v8
262 262
263 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 263 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698