| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 bool is_unused() const { return status_ == UNUSED; } | 96 bool is_unused() const { return status_ == UNUSED; } |
| 97 bool is_generating() const { return status_ == GENERATING; } | 97 bool is_generating() const { return status_ == GENERATING; } |
| 98 bool is_done() const { return status_ == DONE; } | 98 bool is_done() const { return status_ == DONE; } |
| 99 bool is_aborted() const { return status_ == ABORTED; } | 99 bool is_aborted() const { return status_ == ABORTED; } |
| 100 | 100 |
| 101 LChunk* chunk() const { return chunk_; } | 101 LChunk* chunk() const { return chunk_; } |
| 102 Scope* scope() const { return scope_; } | 102 Scope* scope() const { return scope_; } |
| 103 HGraph* graph() const { return chunk_->graph(); } | 103 HGraph* graph() const { return chunk_->graph(); } |
| 104 MacroAssembler* masm() const { return masm_; } | 104 MacroAssembler* masm() const { return masm_; } |
| 105 | 105 |
| 106 Register scratch0() { return r9; } |
| 107 |
| 106 int GetNextEmittedBlock(int block); | 108 int GetNextEmittedBlock(int block); |
| 107 LInstruction* GetNextInstruction(); | 109 LInstruction* GetNextInstruction(); |
| 108 | 110 |
| 109 void EmitClassOfTest(Label* if_true, | 111 void EmitClassOfTest(Label* if_true, |
| 110 Label* if_false, | 112 Label* if_false, |
| 111 Handle<String> class_name, | 113 Handle<String> class_name, |
| 112 Register input, | 114 Register input, |
| 113 Register temporary, | 115 Register temporary, |
| 114 Register temporary2); | 116 Register temporary2); |
| 115 | 117 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 private: | 267 private: |
| 266 LCodeGen* codegen_; | 268 LCodeGen* codegen_; |
| 267 Label entry_; | 269 Label entry_; |
| 268 Label exit_; | 270 Label exit_; |
| 269 Label* external_exit_; | 271 Label* external_exit_; |
| 270 }; | 272 }; |
| 271 | 273 |
| 272 } } // namespace v8::internal | 274 } } // namespace v8::internal |
| 273 | 275 |
| 274 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 276 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |