OLD | NEW |
---|---|
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 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
276 | 276 |
277 Node* WordShl(Node* value, int shift); | 277 Node* WordShl(Node* value, int shift); |
278 Node* WordShr(Node* value, int shift); | 278 Node* WordShr(Node* value, int shift); |
279 Node* Word32Shr(Node* value, int shift); | 279 Node* Word32Shr(Node* value, int shift); |
280 | 280 |
281 // Unary | 281 // Unary |
282 #define DECLARE_CODE_ASSEMBLER_UNARY_OP(name) Node* name(Node* a); | 282 #define DECLARE_CODE_ASSEMBLER_UNARY_OP(name) Node* name(Node* a); |
283 CODE_ASSEMBLER_UNARY_OP_LIST(DECLARE_CODE_ASSEMBLER_UNARY_OP) | 283 CODE_ASSEMBLER_UNARY_OP_LIST(DECLARE_CODE_ASSEMBLER_UNARY_OP) |
284 #undef DECLARE_CODE_ASSEMBLER_UNARY_OP | 284 #undef DECLARE_CODE_ASSEMBLER_UNARY_OP |
285 | 285 |
286 Node* RoundIntPtrToFloat64(Node* value); | |
Igor Sheludko
2016/09/01 14:31:31
Comment? Just to follow the code style of this fil
Jakob Kummerow
2016/09/05 13:15:54
Done.
| |
286 // No-op on 32-bit, otherwise zero extend. | 287 // No-op on 32-bit, otherwise zero extend. |
287 Node* ChangeUint32ToWord(Node* value); | 288 Node* ChangeUint32ToWord(Node* value); |
288 // No-op on 32-bit, otherwise sign extend. | 289 // No-op on 32-bit, otherwise sign extend. |
289 Node* ChangeInt32ToIntPtr(Node* value); | 290 Node* ChangeInt32ToIntPtr(Node* value); |
290 | 291 |
291 // Projections | 292 // Projections |
292 Node* Projection(int index, Node* value); | 293 Node* Projection(int index, Node* value); |
293 | 294 |
294 // Calls | 295 // Calls |
295 Node* CallRuntime(Runtime::FunctionId function_id, Node* context); | 296 Node* CallRuntime(Runtime::FunctionId function_id, Node* context); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
474 // Map of variables to the list of value nodes that have been added from each | 475 // Map of variables to the list of value nodes that have been added from each |
475 // merge path in their order of merging. | 476 // merge path in their order of merging. |
476 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 477 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
477 }; | 478 }; |
478 | 479 |
479 } // namespace compiler | 480 } // namespace compiler |
480 } // namespace internal | 481 } // namespace internal |
481 } // namespace v8 | 482 } // namespace v8 |
482 | 483 |
483 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 484 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |