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

Side by Side Diff: src/compiler/code-generator-impl.h

Issue 892513003: [turbofan] Initial support for Switch. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Wuschelstudio build. Created 5 years, 10 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/code-generator.cc ('k') | src/compiler/common-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_GENERATOR_IMPL_H_ 5 #ifndef V8_COMPILER_CODE_GENERATOR_IMPL_H_
6 #define V8_COMPILER_CODE_GENERATOR_IMPL_H_ 6 #define V8_COMPILER_CODE_GENERATOR_IMPL_H_
7 7
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/compiler/code-generator.h" 9 #include "src/compiler/code-generator.h"
10 #include "src/compiler/instruction.h" 10 #include "src/compiler/instruction.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 MacroAssembler* const masm_; 137 MacroAssembler* const masm_;
138 OutOfLineCode* const next_; 138 OutOfLineCode* const next_;
139 }; 139 };
140 140
141 141
142 // TODO(dcarney): generify this on bleeding_edge and replace this call 142 // TODO(dcarney): generify this on bleeding_edge and replace this call
143 // when merged. 143 // when merged.
144 static inline void FinishCode(MacroAssembler* masm) { 144 static inline void FinishCode(MacroAssembler* masm) {
145 #if V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_ARM 145 #if V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_ARM
146 masm->CheckConstPool(true, false); 146 masm->CheckConstPool(true, false);
147 #elif V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64
148 masm->ud2();
147 #endif 149 #endif
148 } 150 }
149 151
150 } // namespace compiler 152 } // namespace compiler
151 } // namespace internal 153 } // namespace internal
152 } // namespace v8 154 } // namespace v8
153 155
154 #endif // V8_COMPILER_CODE_GENERATOR_IMPL_H 156 #endif // V8_COMPILER_CODE_GENERATOR_IMPL_H
OLDNEW
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698