OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
7 | 7 |
8 #include "src/deoptimizer.h" | 8 #include "src/deoptimizer.h" |
9 #include "src/lithium-codegen.h" | 9 #include "src/lithium-codegen.h" |
10 #include "src/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/mips64/lithium-gap-resolver-mips64.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 244 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
245 | 245 |
246 Register ToRegister(int index) const; | 246 Register ToRegister(int index) const; |
247 DoubleRegister ToDoubleRegister(int index) const; | 247 DoubleRegister ToDoubleRegister(int index) const; |
248 | 248 |
249 MemOperand BuildSeqStringOperand(Register string, | 249 MemOperand BuildSeqStringOperand(Register string, |
250 LOperand* index, | 250 LOperand* index, |
251 String::Encoding encoding); | 251 String::Encoding encoding); |
252 | 252 |
253 void EmitIntegerMathAbs(LMathAbs* instr); | 253 void EmitIntegerMathAbs(LMathAbs* instr); |
| 254 void EmitSmiMathAbs(LMathAbs* instr); |
254 | 255 |
255 // Support for recording safepoint and position information. | 256 // Support for recording safepoint and position information. |
256 void RecordSafepoint(LPointerMap* pointers, | 257 void RecordSafepoint(LPointerMap* pointers, |
257 Safepoint::Kind kind, | 258 Safepoint::Kind kind, |
258 int arguments, | 259 int arguments, |
259 Safepoint::DeoptMode mode); | 260 Safepoint::DeoptMode mode); |
260 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); | 261 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); |
261 void RecordSafepoint(Safepoint::DeoptMode mode); | 262 void RecordSafepoint(Safepoint::DeoptMode mode); |
262 void RecordSafepointWithRegisters(LPointerMap* pointers, | 263 void RecordSafepointWithRegisters(LPointerMap* pointers, |
263 int arguments, | 264 int arguments, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 LCodeGen* codegen_; | 433 LCodeGen* codegen_; |
433 Label entry_; | 434 Label entry_; |
434 Label exit_; | 435 Label exit_; |
435 Label* external_exit_; | 436 Label* external_exit_; |
436 int instruction_index_; | 437 int instruction_index_; |
437 }; | 438 }; |
438 | 439 |
439 } } // namespace v8::internal | 440 } } // namespace v8::internal |
440 | 441 |
441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 442 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |