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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 void X87Fxch(X87Register reg, int other_slot = 0); | 401 void X87Fxch(X87Register reg, int other_slot = 0); |
402 void X87Fld(Operand src, X87OperandType opts); | 402 void X87Fld(Operand src, X87OperandType opts); |
403 void X87Free(X87Register reg); | 403 void X87Free(X87Register reg); |
404 | 404 |
405 void FlushX87StackIfNecessary(LInstruction* instr); | 405 void FlushX87StackIfNecessary(LInstruction* instr); |
406 void EmitFlushX87ForDeopt(); | 406 void EmitFlushX87ForDeopt(); |
407 bool X87StackContains(X87Register reg); | 407 bool X87StackContains(X87Register reg); |
408 int X87ArrayIndex(X87Register reg); | 408 int X87ArrayIndex(X87Register reg); |
409 int x87_st2idx(int pos); | 409 int x87_st2idx(int pos); |
410 | 410 |
| 411 #ifdef _MSC_VER |
| 412 // On windows, you may not access the stack more than one page below |
| 413 // the most recently mapped page. To make the allocated area randomly |
| 414 // accessible, we write an arbitrary value to each page in range |
| 415 // esp + offset - page_size .. esp in turn. |
| 416 void MakeSureStackPagesMapped(int offset); |
| 417 #endif |
| 418 |
411 Zone* zone_; | 419 Zone* zone_; |
412 LPlatformChunk* const chunk_; | 420 LPlatformChunk* const chunk_; |
413 MacroAssembler* const masm_; | 421 MacroAssembler* const masm_; |
414 CompilationInfo* const info_; | 422 CompilationInfo* const info_; |
415 | 423 |
416 int current_block_; | 424 int current_block_; |
417 int current_instruction_; | 425 int current_instruction_; |
418 const ZoneList<LInstruction*>* instructions_; | 426 const ZoneList<LInstruction*>* instructions_; |
419 ZoneList<LEnvironment*> deoptimizations_; | 427 ZoneList<LEnvironment*> deoptimizations_; |
420 ZoneList<Deoptimizer::JumpTableEntry> jump_table_; | 428 ZoneList<Deoptimizer::JumpTableEntry> jump_table_; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 LCodeGen* codegen_; | 502 LCodeGen* codegen_; |
495 Label entry_; | 503 Label entry_; |
496 Label exit_; | 504 Label exit_; |
497 Label* external_exit_; | 505 Label* external_exit_; |
498 int instruction_index_; | 506 int instruction_index_; |
499 }; | 507 }; |
500 | 508 |
501 } } // namespace v8::internal | 509 } } // namespace v8::internal |
502 | 510 |
503 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 511 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |