OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 return result == 0; | 826 return result == 0; |
827 } | 827 } |
828 | 828 |
829 static const uint32_t kConditionFlagsMask = 0xf0000000; | 829 static const uint32_t kConditionFlagsMask = 0xf0000000; |
830 | 830 |
831 // Stack | 831 // Stack |
832 byte* stack_; | 832 byte* stack_; |
833 static const intptr_t stack_protection_size_ = KB; | 833 static const intptr_t stack_protection_size_ = KB; |
834 intptr_t stack_size_; | 834 intptr_t stack_size_; |
835 byte* stack_limit_; | 835 byte* stack_limit_; |
836 // TODO(aleram): protect the stack. | |
837 | 836 |
838 Decoder<DispatchingDecoderVisitor>* decoder_; | 837 Decoder<DispatchingDecoderVisitor>* decoder_; |
839 Decoder<DispatchingDecoderVisitor>* disassembler_decoder_; | 838 Decoder<DispatchingDecoderVisitor>* disassembler_decoder_; |
840 | 839 |
841 // Indicates if the pc has been modified by the instruction and should not be | 840 // Indicates if the pc has been modified by the instruction and should not be |
842 // automatically incremented. | 841 // automatically incremented. |
843 bool pc_modified_; | 842 bool pc_modified_; |
844 Instruction* pc_; | 843 Instruction* pc_; |
845 | 844 |
846 static const char* xreg_names[]; | 845 static const char* xreg_names[]; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 static void UnregisterCTryCatch() { | 899 static void UnregisterCTryCatch() { |
901 Simulator::current(Isolate::Current())->PopAddress(); | 900 Simulator::current(Isolate::Current())->PopAddress(); |
902 } | 901 } |
903 }; | 902 }; |
904 | 903 |
905 #endif // !defined(USE_SIMULATOR) | 904 #endif // !defined(USE_SIMULATOR) |
906 | 905 |
907 } } // namespace v8::internal | 906 } } // namespace v8::internal |
908 | 907 |
909 #endif // V8_A64_SIMULATOR_A64_H_ | 908 #endif // V8_A64_SIMULATOR_A64_H_ |
OLD | NEW |