OLD | NEW |
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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 int* offset, | 338 int* offset, |
339 AllocationSiteMode mode); | 339 AllocationSiteMode mode); |
340 | 340 |
341 void EnsureSpaceForLazyDeopt(int space_needed); | 341 void EnsureSpaceForLazyDeopt(int space_needed); |
342 void DoLoadKeyedExternalArray(LLoadKeyed* instr); | 342 void DoLoadKeyedExternalArray(LLoadKeyed* instr); |
343 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); | 343 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); |
344 void DoLoadKeyedFixedArray(LLoadKeyed* instr); | 344 void DoLoadKeyedFixedArray(LLoadKeyed* instr); |
345 void DoStoreKeyedExternalArray(LStoreKeyed* instr); | 345 void DoStoreKeyedExternalArray(LStoreKeyed* instr); |
346 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); | 346 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); |
347 void DoStoreKeyedFixedArray(LStoreKeyed* instr); | 347 void DoStoreKeyedFixedArray(LStoreKeyed* instr); |
| 348 #ifdef _MSC_VER |
| 349 // On windows, you may not access the stack more than one page below |
| 350 // the most recently mapped page. To make the allocated area randomly |
| 351 // accessible, we write an arbitrary value to each page in range |
| 352 // rsp + offset - page_size .. rsp in turn. |
| 353 void MakeSureStackPagesMapped(int offset); |
| 354 #endif |
348 | 355 |
349 Zone* zone_; | 356 Zone* zone_; |
350 LPlatformChunk* const chunk_; | 357 LPlatformChunk* const chunk_; |
351 MacroAssembler* const masm_; | 358 MacroAssembler* const masm_; |
352 CompilationInfo* const info_; | 359 CompilationInfo* const info_; |
353 | 360 |
354 int current_block_; | 361 int current_block_; |
355 int current_instruction_; | 362 int current_instruction_; |
356 const ZoneList<LInstruction*>* instructions_; | 363 const ZoneList<LInstruction*>* instructions_; |
357 ZoneList<LEnvironment*> deoptimizations_; | 364 ZoneList<LEnvironment*> deoptimizations_; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 LCodeGen* codegen_; | 435 LCodeGen* codegen_; |
429 Label entry_; | 436 Label entry_; |
430 Label exit_; | 437 Label exit_; |
431 Label* external_exit_; | 438 Label* external_exit_; |
432 int instruction_index_; | 439 int instruction_index_; |
433 }; | 440 }; |
434 | 441 |
435 } } // namespace v8::internal | 442 } } // namespace v8::internal |
436 | 443 |
437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 444 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |