| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 void EmitClassOfTest(Label* if_true, | 150 void EmitClassOfTest(Label* if_true, |
| 151 Label* if_false, | 151 Label* if_false, |
| 152 Handle<String> class_name, | 152 Handle<String> class_name, |
| 153 Register input, | 153 Register input, |
| 154 Register temporary, | 154 Register temporary, |
| 155 Register scratch); | 155 Register scratch); |
| 156 | 156 |
| 157 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 157 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 158 int GetParameterCount() const { return scope()->num_parameters(); } | 158 int GetParameterCount() const { return scope()->num_parameters(); } |
| 159 | 159 |
| 160 void Abort(const char* format, ...); | 160 void Abort(const char* reason); |
| 161 void Comment(const char* format, ...); | 161 void Comment(const char* format, ...); |
| 162 | 162 |
| 163 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 163 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 164 | 164 |
| 165 // Code generation passes. Returns true if code generation should | 165 // Code generation passes. Returns true if code generation should |
| 166 // continue. | 166 // continue. |
| 167 bool GeneratePrologue(); | 167 bool GeneratePrologue(); |
| 168 bool GenerateBody(); | 168 bool GenerateBody(); |
| 169 bool GenerateDeferredCode(); | 169 bool GenerateDeferredCode(); |
| 170 bool GenerateJumpTable(); | 170 bool GenerateJumpTable(); |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 LCodeGen* codegen_; | 411 LCodeGen* codegen_; |
| 412 Label entry_; | 412 Label entry_; |
| 413 Label exit_; | 413 Label exit_; |
| 414 Label* external_exit_; | 414 Label* external_exit_; |
| 415 int instruction_index_; | 415 int instruction_index_; |
| 416 }; | 416 }; |
| 417 | 417 |
| 418 } } // namespace v8::internal | 418 } } // namespace v8::internal |
| 419 | 419 |
| 420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |