| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |