| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |