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

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

Issue 10868106: Print reason for disabling optimization. Kill --trace-bailout flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 8 years, 3 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/objects.cc ('k') | src/x64/lithium-codegen-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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void EmitClassOfTest(Label* if_true, 150 void EmitClassOfTest(Label* if_true,
151 Label* if_false, 151 Label* if_false,
152 Handle<String> class_name, 152 Handle<String> class_name,
153 Register input, 153 Register input,
154 Register temporary, 154 Register temporary,
155 Register scratch); 155 Register scratch);
156 156
157 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 157 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
158 int GetParameterCount() const { return scope()->num_parameters(); } 158 int GetParameterCount() const { return scope()->num_parameters(); }
159 159
160 void Abort(const char* format, ...); 160 void Abort(const char* reason);
161 void Comment(const char* format, ...); 161 void Comment(const char* format, ...);
162 162
163 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 163 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
164 164
165 // Code generation passes. Returns true if code generation should 165 // Code generation passes. Returns true if code generation should
166 // continue. 166 // continue.
167 bool GeneratePrologue(); 167 bool GeneratePrologue();
168 bool GenerateBody(); 168 bool GenerateBody();
169 bool GenerateDeferredCode(); 169 bool GenerateDeferredCode();
170 bool GenerateJumpTable(); 170 bool GenerateJumpTable();
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 LCodeGen* codegen_; 411 LCodeGen* codegen_;
412 Label entry_; 412 Label entry_;
413 Label exit_; 413 Label exit_;
414 Label* external_exit_; 414 Label* external_exit_;
415 int instruction_index_; 415 int instruction_index_;
416 }; 416 };
417 417
418 } } // namespace v8::internal 418 } } // namespace v8::internal
419 419
420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698