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

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

Issue 20843012: Extract hardcoded error strings into a single place and replace them with enum. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: styles fixed Created 7 years, 4 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
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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 void EmitClassOfTest(Label* if_true, 207 void EmitClassOfTest(Label* if_true,
208 Label* if_false, 208 Label* if_false,
209 Handle<String> class_name, 209 Handle<String> class_name,
210 Register input, 210 Register input,
211 Register temporary, 211 Register temporary,
212 Register temporary2); 212 Register temporary2);
213 213
214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
215 215
216 void Abort(const char* reason); 216 void Abort(BailoutReason reason);
217 void FPRINTF_CHECKING Comment(const char* format, ...); 217 void FPRINTF_CHECKING Comment(const char* format, ...);
218 218
219 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 219 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
220 220
221 // Code generation passes. Returns true if code generation should 221 // Code generation passes. Returns true if code generation should
222 // continue. 222 // continue.
223 bool GeneratePrologue(); 223 bool GeneratePrologue();
224 bool GenerateBody(); 224 bool GenerateBody();
225 bool GenerateDeferredCode(); 225 bool GenerateDeferredCode();
226 bool GenerateDeoptJumpTable(); 226 bool GenerateDeoptJumpTable();
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 LCodeGen* codegen_; 509 LCodeGen* codegen_;
510 Label entry_; 510 Label entry_;
511 Label exit_; 511 Label exit_;
512 Label* external_exit_; 512 Label* external_exit_;
513 int instruction_index_; 513 int instruction_index_;
514 }; 514 };
515 515
516 } } // namespace v8::internal 516 } } // namespace v8::internal
517 517
518 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 518 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698