Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: src/x64/lithium-codegen-x64.cc

Issue 9535009: Add flag --trace-phase to selectively produce IR trace output. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 73
74 // Open a frame scope to indicate that there is a frame on the stack. The 74 // Open a frame scope to indicate that there is a frame on the stack. The
75 // MANUAL indicates that the scope shouldn't actually generate code to set up 75 // MANUAL indicates that the scope shouldn't actually generate code to set up
76 // the frame (that is done in GeneratePrologue). 76 // the frame (that is done in GeneratePrologue).
77 FrameScope frame_scope(masm_, StackFrame::MANUAL); 77 FrameScope frame_scope(masm_, StackFrame::MANUAL);
78 78
79 return GeneratePrologue() && 79 return GeneratePrologue() &&
80 GenerateBody() && 80 GenerateBody() &&
(...skipping 4505 matching lines...) Expand 10 before | Expand all | Expand 10 after
4586 FixedArray::kHeaderSize - kPointerSize)); 4586 FixedArray::kHeaderSize - kPointerSize));
4587 __ bind(&done); 4587 __ bind(&done);
4588 } 4588 }
4589 4589
4590 4590
4591 #undef __ 4591 #undef __
4592 4592
4593 } } // namespace v8::internal 4593 } } // namespace v8::internal
4594 4594
4595 #endif // V8_TARGET_ARCH_X64 4595 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698