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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1865293003: [stubs] Introduce DivideStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Taking the SMI size into account. Created 4 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 unified diff | Download patch
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/interpreter/interpreter.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 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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698