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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 57383004: Improve implementation of HSeqStringSetChar. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Increase GVNFlags to 64bit. Add StringChars flag. Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 Register ToRegister(int index) const; 236 Register ToRegister(int index) const;
237 XMMRegister ToDoubleRegister(int index) const; 237 XMMRegister ToDoubleRegister(int index) const;
238 Operand BuildFastArrayOperand( 238 Operand BuildFastArrayOperand(
239 LOperand* elements_pointer, 239 LOperand* elements_pointer,
240 LOperand* key, 240 LOperand* key,
241 ElementsKind elements_kind, 241 ElementsKind elements_kind,
242 uint32_t offset, 242 uint32_t offset,
243 uint32_t additional_index = 0); 243 uint32_t additional_index = 0);
244 244
245 Operand BuildSeqStringOperand(Register string,
246 LOperand* index,
247 String::Encoding encoding);
248
245 void EmitIntegerMathAbs(LMathAbs* instr); 249 void EmitIntegerMathAbs(LMathAbs* instr);
246 void EmitSmiMathAbs(LMathAbs* instr); 250 void EmitSmiMathAbs(LMathAbs* instr);
247 251
248 // Support for recording safepoint and position information. 252 // Support for recording safepoint and position information.
249 void RecordSafepoint(LPointerMap* pointers, 253 void RecordSafepoint(LPointerMap* pointers,
250 Safepoint::Kind kind, 254 Safepoint::Kind kind,
251 int arguments, 255 int arguments,
252 Safepoint::DeoptMode mode); 256 Safepoint::DeoptMode mode);
253 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 257 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
254 void RecordSafepoint(Safepoint::DeoptMode mode); 258 void RecordSafepoint(Safepoint::DeoptMode mode);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 Label entry_; 403 Label entry_;
400 Label exit_; 404 Label exit_;
401 Label done_; 405 Label done_;
402 Label* external_exit_; 406 Label* external_exit_;
403 int instruction_index_; 407 int instruction_index_;
404 }; 408 };
405 409
406 } } // namespace v8::internal 410 } } // namespace v8::internal
407 411
408 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 412 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698