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

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

Issue 621833003: Implement inlined stack-check guards in TurboFan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-selector.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_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 15 matching lines...) Expand all
26 namespace compiler { 26 namespace compiler {
27 27
28 // Target-specific opcodes that specify which assembly sequence to emit. 28 // Target-specific opcodes that specify which assembly sequence to emit.
29 // Most opcodes specify a single instruction. 29 // Most opcodes specify a single instruction.
30 #define ARCH_OPCODE_LIST(V) \ 30 #define ARCH_OPCODE_LIST(V) \
31 V(ArchCallCodeObject) \ 31 V(ArchCallCodeObject) \
32 V(ArchCallJSFunction) \ 32 V(ArchCallJSFunction) \
33 V(ArchJmp) \ 33 V(ArchJmp) \
34 V(ArchNop) \ 34 V(ArchNop) \
35 V(ArchRet) \ 35 V(ArchRet) \
36 V(ArchStackPointer) \
36 V(ArchTruncateDoubleToI) \ 37 V(ArchTruncateDoubleToI) \
37 TARGET_ARCH_OPCODE_LIST(V) 38 TARGET_ARCH_OPCODE_LIST(V)
38 39
39 enum ArchOpcode { 40 enum ArchOpcode {
40 #define DECLARE_ARCH_OPCODE(Name) k##Name, 41 #define DECLARE_ARCH_OPCODE(Name) k##Name,
41 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) 42 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE)
42 #undef DECLARE_ARCH_OPCODE 43 #undef DECLARE_ARCH_OPCODE
43 #define COUNT_ARCH_OPCODE(Name) +1 44 #define COUNT_ARCH_OPCODE(Name) +1
44 kLastArchOpcode = -1 ARCH_OPCODE_LIST(COUNT_ARCH_OPCODE) 45 kLastArchOpcode = -1 ARCH_OPCODE_LIST(COUNT_ARCH_OPCODE)
45 #undef COUNT_ARCH_OPCODE 46 #undef COUNT_ARCH_OPCODE
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 typedef BitField<AddressingMode, 7, 5> AddressingModeField; 110 typedef BitField<AddressingMode, 7, 5> AddressingModeField;
110 typedef BitField<FlagsMode, 12, 2> FlagsModeField; 111 typedef BitField<FlagsMode, 12, 2> FlagsModeField;
111 typedef BitField<FlagsCondition, 14, 5> FlagsConditionField; 112 typedef BitField<FlagsCondition, 14, 5> FlagsConditionField;
112 typedef BitField<int, 14, 18> MiscField; 113 typedef BitField<int, 14, 18> MiscField;
113 114
114 } // namespace compiler 115 } // namespace compiler
115 } // namespace internal 116 } // namespace internal
116 } // namespace v8 117 } // namespace v8
117 118
118 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ 119 #endif // V8_COMPILER_INSTRUCTION_CODES_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698