| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 } | 189 } |
| 190 | 190 |
| 191 LPlatformChunk* chunk() const { return chunk_; } | 191 LPlatformChunk* chunk() const { return chunk_; } |
| 192 Scope* scope() const { return scope_; } | 192 Scope* scope() const { return scope_; } |
| 193 HGraph* graph() const { return chunk_->graph(); } | 193 HGraph* graph() const { return chunk_->graph(); } |
| 194 | 194 |
| 195 Register scratch0() { return kLithiumScratchReg; } | 195 Register scratch0() { return kLithiumScratchReg; } |
| 196 Register scratch1() { return kLithiumScratchReg2; } | 196 Register scratch1() { return kLithiumScratchReg2; } |
| 197 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } | 197 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } |
| 198 | 198 |
| 199 int GetNextEmittedBlock(int block); | 199 int GetNextEmittedBlock(); |
| 200 LInstruction* GetNextInstruction(); | 200 LInstruction* GetNextInstruction(); |
| 201 | 201 |
| 202 void EmitClassOfTest(Label* if_true, | 202 void EmitClassOfTest(Label* if_true, |
| 203 Label* if_false, | 203 Label* if_false, |
| 204 Handle<String> class_name, | 204 Handle<String> class_name, |
| 205 Register input, | 205 Register input, |
| 206 Register temporary, | 206 Register temporary, |
| 207 Register temporary2); | 207 Register temporary2); |
| 208 | 208 |
| 209 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 209 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 LCodeGen* codegen_; | 498 LCodeGen* codegen_; |
| 499 Label entry_; | 499 Label entry_; |
| 500 Label exit_; | 500 Label exit_; |
| 501 Label* external_exit_; | 501 Label* external_exit_; |
| 502 int instruction_index_; | 502 int instruction_index_; |
| 503 }; | 503 }; |
| 504 | 504 |
| 505 } } // namespace v8::internal | 505 } } // namespace v8::internal |
| 506 | 506 |
| 507 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 507 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |