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

Side by Side Diff: src/compiler/code-assembler.h

Issue 1980483003: [es6] Reintroduce the instanceof operator in the backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Igors comments. Created 4 years, 7 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/compiler/bytecode-graph-builder.cc ('k') | src/compiler/code-assembler.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 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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 // Store value to raw memory location. 230 // Store value to raw memory location.
231 Node* Store(MachineRepresentation rep, Node* base, Node* value); 231 Node* Store(MachineRepresentation rep, Node* base, Node* value);
232 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value); 232 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value);
233 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); 233 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value);
234 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index, 234 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index,
235 Node* value); 235 Node* value);
236 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* index, 236 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* index,
237 Node* value); 237 Node* value);
238 238
239 // Store a value to the root array.
240 Node* StoreRoot(Heap::RootListIndex root_index, Node* value);
241
239 // Basic arithmetic operations. 242 // Basic arithmetic operations.
240 #define DECLARE_CODE_ASSEMBLER_BINARY_OP(name) Node* name(Node* a, Node* b); 243 #define DECLARE_CODE_ASSEMBLER_BINARY_OP(name) Node* name(Node* a, Node* b);
241 CODE_ASSEMBLER_BINARY_OP_LIST(DECLARE_CODE_ASSEMBLER_BINARY_OP) 244 CODE_ASSEMBLER_BINARY_OP_LIST(DECLARE_CODE_ASSEMBLER_BINARY_OP)
242 #undef DECLARE_CODE_ASSEMBLER_BINARY_OP 245 #undef DECLARE_CODE_ASSEMBLER_BINARY_OP
243 246
244 Node* WordShl(Node* value, int shift); 247 Node* WordShl(Node* value, int shift);
245 Node* WordShr(Node* value, int shift); 248 Node* WordShr(Node* value, int shift);
246 249
247 // Unary 250 // Unary
248 #define DECLARE_CODE_ASSEMBLER_UNARY_OP(name) Node* name(Node* a); 251 #define DECLARE_CODE_ASSEMBLER_UNARY_OP(name) Node* name(Node* a);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // Map of variables to the list of value nodes that have been added from each 394 // Map of variables to the list of value nodes that have been added from each
392 // merge path in their order of merging. 395 // merge path in their order of merging.
393 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 396 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
394 }; 397 };
395 398
396 } // namespace compiler 399 } // namespace compiler
397 } // namespace internal 400 } // namespace internal
398 } // namespace v8 401 } // namespace v8
399 402
400 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 403 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698