| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
| 10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 #define INTPTR_BINOP(prefix, name) \ | 346 #define INTPTR_BINOP(prefix, name) \ |
| 347 Node* IntPtr##name(Node* a, Node* b) { \ | 347 Node* IntPtr##name(Node* a, Node* b) { \ |
| 348 return kPointerSize == 8 ? prefix##64##name(a, b) \ | 348 return kPointerSize == 8 ? prefix##64##name(a, b) \ |
| 349 : prefix##32##name(a, b); \ | 349 : prefix##32##name(a, b); \ |
| 350 } | 350 } |
| 351 | 351 |
| 352 INTPTR_BINOP(Int, Add); | 352 INTPTR_BINOP(Int, Add); |
| 353 INTPTR_BINOP(Int, AddWithOverflow); | 353 INTPTR_BINOP(Int, AddWithOverflow); |
| 354 INTPTR_BINOP(Int, Sub); | 354 INTPTR_BINOP(Int, Sub); |
| 355 INTPTR_BINOP(Int, SubWithOverflow); | 355 INTPTR_BINOP(Int, SubWithOverflow); |
| 356 INTPTR_BINOP(Int, Mul); |
| 357 INTPTR_BINOP(Int, Div); |
| 356 INTPTR_BINOP(Int, LessThan); | 358 INTPTR_BINOP(Int, LessThan); |
| 357 INTPTR_BINOP(Int, LessThanOrEqual); | 359 INTPTR_BINOP(Int, LessThanOrEqual); |
| 358 INTPTR_BINOP(Word, Equal); | 360 INTPTR_BINOP(Word, Equal); |
| 359 INTPTR_BINOP(Word, NotEqual); | 361 INTPTR_BINOP(Word, NotEqual); |
| 360 INTPTR_BINOP(Int, GreaterThanOrEqual); | 362 INTPTR_BINOP(Int, GreaterThanOrEqual); |
| 361 INTPTR_BINOP(Int, GreaterThan); | 363 INTPTR_BINOP(Int, GreaterThan); |
| 362 | 364 |
| 363 #undef INTPTR_BINOP | 365 #undef INTPTR_BINOP |
| 364 | 366 |
| 365 #define UINTPTR_BINOP(prefix, name) \ | 367 #define UINTPTR_BINOP(prefix, name) \ |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 bool deferred_; | 740 bool deferred_; |
| 739 friend class RawMachineAssembler; | 741 friend class RawMachineAssembler; |
| 740 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 742 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 741 }; | 743 }; |
| 742 | 744 |
| 743 } // namespace compiler | 745 } // namespace compiler |
| 744 } // namespace internal | 746 } // namespace internal |
| 745 } // namespace v8 | 747 } // namespace v8 |
| 746 | 748 |
| 747 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 749 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |