| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 DONE, | 130 DONE, |
| 131 ABORTED | 131 ABORTED |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 bool is_unused() const { return status_ == UNUSED; } | 134 bool is_unused() const { return status_ == UNUSED; } |
| 135 bool is_generating() const { return status_ == GENERATING; } | 135 bool is_generating() const { return status_ == GENERATING; } |
| 136 bool is_done() const { return status_ == DONE; } | 136 bool is_done() const { return status_ == DONE; } |
| 137 bool is_aborted() const { return status_ == ABORTED; } | 137 bool is_aborted() const { return status_ == ABORTED; } |
| 138 | 138 |
| 139 int strict_mode_flag() const { | 139 int strict_mode_flag() const { |
| 140 return info()->is_strict() ? kStrictMode : kNonStrictMode; | 140 return info()->is_strict_mode() ? kStrictMode : kNonStrictMode; |
| 141 } | 141 } |
| 142 | 142 |
| 143 LChunk* chunk() const { return chunk_; } | 143 LChunk* chunk() const { return chunk_; } |
| 144 Scope* scope() const { return scope_; } | 144 Scope* scope() const { return scope_; } |
| 145 HGraph* graph() const { return chunk_->graph(); } | 145 HGraph* graph() const { return chunk_->graph(); } |
| 146 | 146 |
| 147 Register scratch0() { return r9; } | 147 Register scratch0() { return r9; } |
| 148 DwVfpRegister double_scratch0() { return d0; } | 148 DwVfpRegister double_scratch0() { return d0; } |
| 149 | 149 |
| 150 int GetNextEmittedBlock(int block); | 150 int GetNextEmittedBlock(int block); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 private: | 320 private: |
| 321 LCodeGen* codegen_; | 321 LCodeGen* codegen_; |
| 322 Label entry_; | 322 Label entry_; |
| 323 Label exit_; | 323 Label exit_; |
| 324 Label* external_exit_; | 324 Label* external_exit_; |
| 325 }; | 325 }; |
| 326 | 326 |
| 327 } } // namespace v8::internal | 327 } } // namespace v8::internal |
| 328 | 328 |
| 329 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 329 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |