| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 StrictModeFlag strict_mode_flag() const { | 174 StrictModeFlag strict_mode_flag() const { |
| 175 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 175 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
| 176 } | 176 } |
| 177 | 177 |
| 178 LPlatformChunk* chunk() const { return chunk_; } | 178 LPlatformChunk* chunk() const { return chunk_; } |
| 179 Scope* scope() const { return scope_; } | 179 Scope* scope() const { return scope_; } |
| 180 HGraph* graph() const { return chunk_->graph(); } | 180 HGraph* graph() const { return chunk_->graph(); } |
| 181 | 181 |
| 182 Register scratch0() { return r9; } | 182 Register scratch0() { return r9; } |
| 183 DwVfpRegister double_scratch0() { return kScratchDoubleReg; } | 183 DwVfpRegister double_scratch0() { return DwVfpRegister::ScratchReg(); } |
| 184 | 184 |
| 185 int GetNextEmittedBlock(int block); | 185 int GetNextEmittedBlock(int block); |
| 186 LInstruction* GetNextInstruction(); | 186 LInstruction* GetNextInstruction(); |
| 187 | 187 |
| 188 void EmitClassOfTest(Label* if_true, | 188 void EmitClassOfTest(Label* if_true, |
| 189 Label* if_false, | 189 Label* if_false, |
| 190 Handle<String> class_name, | 190 Handle<String> class_name, |
| 191 Register input, | 191 Register input, |
| 192 Register temporary, | 192 Register temporary, |
| 193 Register temporary2); | 193 Register temporary2); |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 LCodeGen* codegen_; | 485 LCodeGen* codegen_; |
| 486 Label entry_; | 486 Label entry_; |
| 487 Label exit_; | 487 Label exit_; |
| 488 Label* external_exit_; | 488 Label* external_exit_; |
| 489 int instruction_index_; | 489 int instruction_index_; |
| 490 }; | 490 }; |
| 491 | 491 |
| 492 } } // namespace v8::internal | 492 } } // namespace v8::internal |
| 493 | 493 |
| 494 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 494 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |