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

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

Powered by Google App Engine
This is Rietveld 408576698