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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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_X87_LITHIUM_CODEGEN_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 Representation key_representation, 260 Representation key_representation,
261 ElementsKind elements_kind, 261 ElementsKind elements_kind,
262 uint32_t base_offset); 262 uint32_t base_offset);
263 263
264 Operand BuildSeqStringOperand(Register string, 264 Operand BuildSeqStringOperand(Register string,
265 LOperand* index, 265 LOperand* index,
266 String::Encoding encoding); 266 String::Encoding encoding);
267 267
268 void EmitIntegerMathAbs(LMathAbs* instr); 268 void EmitIntegerMathAbs(LMathAbs* instr);
269 269
270 // Support for recording safepoint and position information. 270 // Support for recording safepoint information.
271 void RecordSafepoint(LPointerMap* pointers, 271 void RecordSafepoint(LPointerMap* pointers,
272 Safepoint::Kind kind, 272 Safepoint::Kind kind,
273 int arguments, 273 int arguments,
274 Safepoint::DeoptMode mode); 274 Safepoint::DeoptMode mode);
275 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 275 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
276 void RecordSafepoint(Safepoint::DeoptMode mode); 276 void RecordSafepoint(Safepoint::DeoptMode mode);
277 void RecordSafepointWithRegisters(LPointerMap* pointers, 277 void RecordSafepointWithRegisters(LPointerMap* pointers,
278 int arguments, 278 int arguments,
279 Safepoint::DeoptMode mode); 279 Safepoint::DeoptMode mode);
280 280
281 void RecordAndWritePosition(int position) override;
282
283 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 281 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
284 void EmitGoto(int block); 282 void EmitGoto(int block);
285 283
286 // EmitBranch expects to be the last instruction of a block. 284 // EmitBranch expects to be the last instruction of a block.
287 template<class InstrType> 285 template<class InstrType>
288 void EmitBranch(InstrType instr, Condition cc); 286 void EmitBranch(InstrType instr, Condition cc);
289 template <class InstrType> 287 template <class InstrType>
290 void EmitTrueBranch(InstrType instr, Condition cc); 288 void EmitTrueBranch(InstrType instr, Condition cc);
291 template <class InstrType> 289 template <class InstrType>
292 void EmitFalseBranch(InstrType instr, Condition cc); 290 void EmitFalseBranch(InstrType instr, Condition cc);
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 Label* external_exit_; 485 Label* external_exit_;
488 Label done_; 486 Label done_;
489 int instruction_index_; 487 int instruction_index_;
490 LCodeGen::X87Stack x87_stack_; 488 LCodeGen::X87Stack x87_stack_;
491 }; 489 };
492 490
493 } // namespace internal 491 } // namespace internal
494 } // namespace v8 492 } // namespace v8
495 493
496 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ 494 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698