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 2748383004: [Compiler] Move static FinishCode function into CodeGenerator. (Closed)
Patch Set: Add MIPS64. Created 3 years, 9 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/ia32/code-generator-ia32.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 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 OutOfLineCode* next() const { return next_; } 207 OutOfLineCode* next() const { return next_; }
208 208
209 private: 209 private:
210 Label entry_; 210 Label entry_;
211 Label exit_; 211 Label exit_;
212 const Frame* const frame_; 212 const Frame* const frame_;
213 MacroAssembler* const masm_; 213 MacroAssembler* const masm_;
214 OutOfLineCode* const next_; 214 OutOfLineCode* const next_;
215 }; 215 };
216 216
217
218 // TODO(dcarney): generify this on bleeding_edge and replace this call
219 // when merged.
220 static inline void FinishCode(MacroAssembler* masm) {
221 #if V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_ARM
222 masm->CheckConstPool(true, false);
223 #endif
224 }
225
226 } // namespace compiler 217 } // namespace compiler
227 } // namespace internal 218 } // namespace internal
228 } // namespace v8 219 } // namespace v8
229 220
230 #endif // V8_COMPILER_CODE_GENERATOR_IMPL_H 221 #endif // V8_COMPILER_CODE_GENERATOR_IMPL_H
OLDNEW
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698