| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 67  private: | 67  private: | 
| 68   LCodeGen* codegen_; | 68   LCodeGen* codegen_; | 
| 69   LPointerMap* pointers_; | 69   LPointerMap* pointers_; | 
| 70   Safepoint::DeoptMode deopt_mode_; | 70   Safepoint::DeoptMode deopt_mode_; | 
| 71 }; | 71 }; | 
| 72 | 72 | 
| 73 | 73 | 
| 74 #define __ masm()-> | 74 #define __ masm()-> | 
| 75 | 75 | 
| 76 bool LCodeGen::GenerateCode() { | 76 bool LCodeGen::GenerateCode() { | 
| 77   HPhase phase("Z_Code generation", chunk()); | 77   LPhase phase("Z_Code generation", chunk()); | 
| 78   ASSERT(is_unused()); | 78   ASSERT(is_unused()); | 
| 79   status_ = GENERATING; | 79   status_ = GENERATING; | 
| 80 | 80 | 
| 81   // Open a frame scope to indicate that there is a frame on the stack.  The | 81   // Open a frame scope to indicate that there is a frame on the stack.  The | 
| 82   // MANUAL indicates that the scope shouldn't actually generate code to set up | 82   // MANUAL indicates that the scope shouldn't actually generate code to set up | 
| 83   // the frame (that is done in GeneratePrologue). | 83   // the frame (that is done in GeneratePrologue). | 
| 84   FrameScope frame_scope(masm_, StackFrame::MANUAL); | 84   FrameScope frame_scope(masm_, StackFrame::MANUAL); | 
| 85 | 85 | 
| 86   support_aligned_spilled_doubles_ = info()->IsOptimizing(); | 86   support_aligned_spilled_doubles_ = info()->IsOptimizing(); | 
| 87 | 87 | 
| (...skipping 6472 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6560                               FixedArray::kHeaderSize - kPointerSize)); | 6560                               FixedArray::kHeaderSize - kPointerSize)); | 
| 6561   __ bind(&done); | 6561   __ bind(&done); | 
| 6562 } | 6562 } | 
| 6563 | 6563 | 
| 6564 | 6564 | 
| 6565 #undef __ | 6565 #undef __ | 
| 6566 | 6566 | 
| 6567 } }  // namespace v8::internal | 6567 } }  // namespace v8::internal | 
| 6568 | 6568 | 
| 6569 #endif  // V8_TARGET_ARCH_IA32 | 6569 #endif  // V8_TARGET_ARCH_IA32 | 
| OLD | NEW | 
|---|