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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.h

Issue 2101523003: Use source position table for crankshaft code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@sourcepos
Patch Set: rebase Created 4 years, 5 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/crankshaft/lithium-codegen.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.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 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_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/crankshaft/lithium-codegen.h" 9 #include "src/crankshaft/lithium-codegen.h"
10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h" 10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 Register ToRegister(int index) const; 245 Register ToRegister(int index) const;
246 DoubleRegister ToDoubleRegister(int index) const; 246 DoubleRegister ToDoubleRegister(int index) const;
247 247
248 MemOperand BuildSeqStringOperand(Register string, 248 MemOperand BuildSeqStringOperand(Register string,
249 LOperand* index, 249 LOperand* index,
250 String::Encoding encoding); 250 String::Encoding encoding);
251 251
252 void EmitIntegerMathAbs(LMathAbs* instr); 252 void EmitIntegerMathAbs(LMathAbs* instr);
253 253
254 // Support for recording safepoint and position information. 254 // Support for recording safepoint information.
255 void RecordSafepoint(LPointerMap* pointers, 255 void RecordSafepoint(LPointerMap* pointers,
256 Safepoint::Kind kind, 256 Safepoint::Kind kind,
257 int arguments, 257 int arguments,
258 Safepoint::DeoptMode mode); 258 Safepoint::DeoptMode mode);
259 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 259 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
260 void RecordSafepoint(Safepoint::DeoptMode mode); 260 void RecordSafepoint(Safepoint::DeoptMode mode);
261 void RecordSafepointWithRegisters(LPointerMap* pointers, 261 void RecordSafepointWithRegisters(LPointerMap* pointers,
262 int arguments, 262 int arguments,
263 Safepoint::DeoptMode mode); 263 Safepoint::DeoptMode mode);
264 264
265 void RecordAndWritePosition(int position) override;
266
267 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 265 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
268 void EmitGoto(int block); 266 void EmitGoto(int block);
269 267
270 // EmitBranch expects to be the last instruction of a block. 268 // EmitBranch expects to be the last instruction of a block.
271 template<class InstrType> 269 template<class InstrType>
272 void EmitBranch(InstrType instr, 270 void EmitBranch(InstrType instr,
273 Condition condition, 271 Condition condition,
274 Register src1, 272 Register src1,
275 const Operand& src2); 273 const Operand& src2);
276 template<class InstrType> 274 template<class InstrType>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 Label entry_; 416 Label entry_;
419 Label exit_; 417 Label exit_;
420 Label* external_exit_; 418 Label* external_exit_;
421 int instruction_index_; 419 int instruction_index_;
422 }; 420 };
423 421
424 } // namespace internal 422 } // namespace internal
425 } // namespace v8 423 } // namespace v8
426 424
427 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 425 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/lithium-codegen.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698