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

Side by Side Diff: src/mips/lithium-codegen-mips.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/lithium.cc ('k') | src/mips/lithium-codegen-mips.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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 void EmitClassOfTest(Label* if_true, 176 void EmitClassOfTest(Label* if_true,
177 Label* if_false, 177 Label* if_false,
178 Handle<String> class_name, 178 Handle<String> class_name,
179 Register input, 179 Register input,
180 Register temporary, 180 Register temporary,
181 Register temporary2); 181 Register temporary2);
182 182
183 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 183 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
184 int GetParameterCount() const { return scope()->num_parameters(); } 184 int GetParameterCount() const { return scope()->num_parameters(); }
185 185
186 void Abort(const char* format, ...); 186 void Abort(const char* reason);
187 void Comment(const char* format, ...); 187 void Comment(const char* format, ...);
188 188
189 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 189 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
190 190
191 // Code generation passes. Returns true if code generation should 191 // Code generation passes. Returns true if code generation should
192 // continue. 192 // continue.
193 bool GeneratePrologue(); 193 bool GeneratePrologue();
194 bool GenerateBody(); 194 bool GenerateBody();
195 bool GenerateDeferredCode(); 195 bool GenerateDeferredCode();
196 bool GenerateDeoptJumpTable(); 196 bool GenerateDeoptJumpTable();
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 LCodeGen* codegen_; 467 LCodeGen* codegen_;
468 Label entry_; 468 Label entry_;
469 Label exit_; 469 Label exit_;
470 Label* external_exit_; 470 Label* external_exit_;
471 int instruction_index_; 471 int instruction_index_;
472 }; 472 };
473 473
474 } } // namespace v8::internal 474 } } // namespace v8::internal
475 475
476 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 476 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698