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

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

Issue 500073002: Eliminate code duplication in lithium calls to vector-based LoadICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/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_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 #include "src/x64/lithium-x64.h" 8 #include "src/x64/lithium-x64.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 int* offset, 307 int* offset,
308 AllocationSiteMode mode); 308 AllocationSiteMode mode);
309 309
310 void EnsureSpaceForLazyDeopt(int space_needed) V8_OVERRIDE; 310 void EnsureSpaceForLazyDeopt(int space_needed) V8_OVERRIDE;
311 void DoLoadKeyedExternalArray(LLoadKeyed* instr); 311 void DoLoadKeyedExternalArray(LLoadKeyed* instr);
312 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); 312 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr);
313 void DoLoadKeyedFixedArray(LLoadKeyed* instr); 313 void DoLoadKeyedFixedArray(LLoadKeyed* instr);
314 void DoStoreKeyedExternalArray(LStoreKeyed* instr); 314 void DoStoreKeyedExternalArray(LStoreKeyed* instr);
315 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); 315 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr);
316 void DoStoreKeyedFixedArray(LStoreKeyed* instr); 316 void DoStoreKeyedFixedArray(LStoreKeyed* instr);
317
318 template <class T>
319 void EmitVectorLoadICRegisters(T* instr);
320
317 #ifdef _MSC_VER 321 #ifdef _MSC_VER
318 // On windows, you may not access the stack more than one page below 322 // On windows, you may not access the stack more than one page below
319 // the most recently mapped page. To make the allocated area randomly 323 // the most recently mapped page. To make the allocated area randomly
320 // accessible, we write an arbitrary value to each page in range 324 // accessible, we write an arbitrary value to each page in range
321 // rsp + offset - page_size .. rsp in turn. 325 // rsp + offset - page_size .. rsp in turn.
322 void MakeSureStackPagesMapped(int offset); 326 void MakeSureStackPagesMapped(int offset);
323 #endif 327 #endif
324 328
325 ZoneList<LEnvironment*> deoptimizations_; 329 ZoneList<LEnvironment*> deoptimizations_;
326 ZoneList<Deoptimizer::JumpTableEntry> jump_table_; 330 ZoneList<Deoptimizer::JumpTableEntry> jump_table_;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 Label entry_; 400 Label entry_;
397 Label exit_; 401 Label exit_;
398 Label done_; 402 Label done_;
399 Label* external_exit_; 403 Label* external_exit_;
400 int instruction_index_; 404 int instruction_index_;
401 }; 405 };
402 406
403 } } // namespace v8::internal 407 } } // namespace v8::internal
404 408
405 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 409 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698