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

Side by Side Diff: src/x64/lithium-codegen-x64.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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 void EmitClassOfTest(Label* if_true, 173 void EmitClassOfTest(Label* if_true,
174 Label* if_false, 174 Label* if_false,
175 Handle<String> class_name, 175 Handle<String> class_name,
176 Register input, 176 Register input,
177 Register temporary, 177 Register temporary,
178 Register scratch); 178 Register scratch);
179 179
180 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 180 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
181 181
182 void Abort(const char* reason); 182 void Abort(BailoutReason reason);
183 void FPRINTF_CHECKING Comment(const char* format, ...); 183 void FPRINTF_CHECKING Comment(const char* format, ...);
184 184
185 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 185 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
186 186
187 // Code generation passes. Returns true if code generation should 187 // Code generation passes. Returns true if code generation should
188 // continue. 188 // continue.
189 bool GeneratePrologue(); 189 bool GeneratePrologue();
190 bool GenerateBody(); 190 bool GenerateBody();
191 bool GenerateDeferredCode(); 191 bool GenerateDeferredCode();
192 bool GenerateJumpTable(); 192 bool GenerateJumpTable();
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 LCodeGen* codegen_; 428 LCodeGen* codegen_;
429 Label entry_; 429 Label entry_;
430 Label exit_; 430 Label exit_;
431 Label* external_exit_; 431 Label* external_exit_;
432 int instruction_index_; 432 int instruction_index_;
433 }; 433 };
434 434
435 } } // namespace v8::internal 435 } } // namespace v8::internal
436 436
437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698