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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 private: | 60 private: |
61 LCodeGen* codegen_; | 61 LCodeGen* codegen_; |
62 LPointerMap* pointers_; | 62 LPointerMap* pointers_; |
63 Safepoint::DeoptMode deopt_mode_; | 63 Safepoint::DeoptMode deopt_mode_; |
64 }; | 64 }; |
65 | 65 |
66 | 66 |
67 #define __ masm()-> | 67 #define __ masm()-> |
68 | 68 |
69 bool LCodeGen::GenerateCode() { | 69 bool LCodeGen::GenerateCode() { |
70 HPhase phase("Code generation", chunk()); | 70 HPhase phase("Z Code generation", chunk()); |
71 ASSERT(is_unused()); | 71 ASSERT(is_unused()); |
72 status_ = GENERATING; | 72 status_ = GENERATING; |
73 CpuFeatures::Scope scope(SSE2); | 73 CpuFeatures::Scope scope(SSE2); |
74 | 74 |
75 CodeStub::GenerateFPStubs(); | 75 CodeStub::GenerateFPStubs(); |
76 | 76 |
77 // Open a frame scope to indicate that there is a frame on the stack. The | 77 // Open a frame scope to indicate that there is a frame on the stack. The |
78 // MANUAL indicates that the scope shouldn't actually generate code to set up | 78 // MANUAL indicates that the scope shouldn't actually generate code to set up |
79 // the frame (that is done in GeneratePrologue). | 79 // the frame (that is done in GeneratePrologue). |
80 FrameScope frame_scope(masm_, StackFrame::MANUAL); | 80 FrameScope frame_scope(masm_, StackFrame::MANUAL); |
(...skipping 4769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4850 FixedArray::kHeaderSize - kPointerSize)); | 4850 FixedArray::kHeaderSize - kPointerSize)); |
4851 __ bind(&done); | 4851 __ bind(&done); |
4852 } | 4852 } |
4853 | 4853 |
4854 | 4854 |
4855 #undef __ | 4855 #undef __ |
4856 | 4856 |
4857 } } // namespace v8::internal | 4857 } } // namespace v8::internal |
4858 | 4858 |
4859 #endif // V8_TARGET_ARCH_IA32 | 4859 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |