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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.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/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.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_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 8
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 ElementsKind elements_kind, 231 ElementsKind elements_kind,
232 uint32_t base_offset); 232 uint32_t base_offset);
233 233
234 Operand BuildSeqStringOperand(Register string, 234 Operand BuildSeqStringOperand(Register string,
235 LOperand* index, 235 LOperand* index,
236 String::Encoding encoding); 236 String::Encoding encoding);
237 237
238 void EmitIntegerMathAbs(LMathAbs* instr); 238 void EmitIntegerMathAbs(LMathAbs* instr);
239 void EmitSmiMathAbs(LMathAbs* instr); 239 void EmitSmiMathAbs(LMathAbs* instr);
240 240
241 // Support for recording safepoint and position information. 241 // Support for recording safepoint information.
242 void RecordSafepoint(LPointerMap* pointers, 242 void RecordSafepoint(LPointerMap* pointers,
243 Safepoint::Kind kind, 243 Safepoint::Kind kind,
244 int arguments, 244 int arguments,
245 Safepoint::DeoptMode mode); 245 Safepoint::DeoptMode mode);
246 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 246 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
247 void RecordSafepoint(Safepoint::DeoptMode mode); 247 void RecordSafepoint(Safepoint::DeoptMode mode);
248 void RecordSafepointWithRegisters(LPointerMap* pointers, 248 void RecordSafepointWithRegisters(LPointerMap* pointers,
249 int arguments, 249 int arguments,
250 Safepoint::DeoptMode mode); 250 Safepoint::DeoptMode mode);
251 void RecordAndWritePosition(int position) override;
252 251
253 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 252 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
254 void EmitGoto(int block); 253 void EmitGoto(int block);
255 254
256 // EmitBranch expects to be the last instruction of a block. 255 // EmitBranch expects to be the last instruction of a block.
257 template<class InstrType> 256 template<class InstrType>
258 void EmitBranch(InstrType instr, Condition cc); 257 void EmitBranch(InstrType instr, Condition cc);
259 template <class InstrType> 258 template <class InstrType>
260 void EmitTrueBranch(InstrType instr, Condition cc); 259 void EmitTrueBranch(InstrType instr, Condition cc);
261 template <class InstrType> 260 template <class InstrType>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 Label exit_; 378 Label exit_;
380 Label done_; 379 Label done_;
381 Label* external_exit_; 380 Label* external_exit_;
382 int instruction_index_; 381 int instruction_index_;
383 }; 382 };
384 383
385 } // namespace internal 384 } // namespace internal
386 } // namespace v8 385 } // namespace v8
387 386
388 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 387 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698