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

Side by Side Diff: src/compiler/instruction-codes.h

Issue 1108563002: Detect simple tail calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed index type Created 5 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/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.h » ('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_INSTRUCTION_CODES_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_
6 #define V8_COMPILER_INSTRUCTION_CODES_H_ 6 #define V8_COMPILER_INSTRUCTION_CODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #if V8_TARGET_ARCH_ARM 10 #if V8_TARGET_ARCH_ARM
(...skipping 17 matching lines...) Expand all
28 #include "src/utils.h" 28 #include "src/utils.h"
29 29
30 namespace v8 { 30 namespace v8 {
31 namespace internal { 31 namespace internal {
32 namespace compiler { 32 namespace compiler {
33 33
34 // Target-specific opcodes that specify which assembly sequence to emit. 34 // Target-specific opcodes that specify which assembly sequence to emit.
35 // Most opcodes specify a single instruction. 35 // Most opcodes specify a single instruction.
36 #define ARCH_OPCODE_LIST(V) \ 36 #define ARCH_OPCODE_LIST(V) \
37 V(ArchCallCodeObject) \ 37 V(ArchCallCodeObject) \
38 V(ArchTailCallCodeObject) \
38 V(ArchCallJSFunction) \ 39 V(ArchCallJSFunction) \
40 V(ArchTailCallJSFunction) \
39 V(ArchJmp) \ 41 V(ArchJmp) \
40 V(ArchLookupSwitch) \ 42 V(ArchLookupSwitch) \
41 V(ArchTableSwitch) \ 43 V(ArchTableSwitch) \
42 V(ArchNop) \ 44 V(ArchNop) \
43 V(ArchDeoptimize) \ 45 V(ArchDeoptimize) \
44 V(ArchRet) \ 46 V(ArchRet) \
45 V(ArchStackPointer) \ 47 V(ArchStackPointer) \
46 V(ArchTruncateDoubleToI) \ 48 V(ArchTruncateDoubleToI) \
47 V(CheckedLoadInt8) \ 49 V(CheckedLoadInt8) \
48 V(CheckedLoadUint8) \ 50 V(CheckedLoadUint8) \
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 typedef BitField<AddressingMode, 8, 5> AddressingModeField; 133 typedef BitField<AddressingMode, 8, 5> AddressingModeField;
132 typedef BitField<FlagsMode, 13, 2> FlagsModeField; 134 typedef BitField<FlagsMode, 13, 2> FlagsModeField;
133 typedef BitField<FlagsCondition, 15, 4> FlagsConditionField; 135 typedef BitField<FlagsCondition, 15, 4> FlagsConditionField;
134 typedef BitField<int, 19, 13> MiscField; 136 typedef BitField<int, 19, 13> MiscField;
135 137
136 } // namespace compiler 138 } // namespace compiler
137 } // namespace internal 139 } // namespace internal
138 } // namespace v8 140 } // namespace v8
139 141
140 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ 142 #endif // V8_COMPILER_INSTRUCTION_CODES_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698