| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 DONE, | 134 DONE, |
| 135 ABORTED | 135 ABORTED |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 bool is_unused() const { return status_ == UNUSED; } | 138 bool is_unused() const { return status_ == UNUSED; } |
| 139 bool is_generating() const { return status_ == GENERATING; } | 139 bool is_generating() const { return status_ == GENERATING; } |
| 140 bool is_done() const { return status_ == DONE; } | 140 bool is_done() const { return status_ == DONE; } |
| 141 bool is_aborted() const { return status_ == ABORTED; } | 141 bool is_aborted() const { return status_ == ABORTED; } |
| 142 | 142 |
| 143 StrictModeFlag strict_mode_flag() const { | 143 StrictModeFlag strict_mode_flag() const { |
| 144 return info()->strict_mode_flag(); | 144 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
| 145 } | 145 } |
| 146 | 146 |
| 147 LChunk* chunk() const { return chunk_; } | 147 LChunk* chunk() const { return chunk_; } |
| 148 Scope* scope() const { return scope_; } | 148 Scope* scope() const { return scope_; } |
| 149 HGraph* graph() const { return chunk_->graph(); } | 149 HGraph* graph() const { return chunk_->graph(); } |
| 150 | 150 |
| 151 Register scratch0() { return r9; } | 151 Register scratch0() { return r9; } |
| 152 DwVfpRegister double_scratch0() { return d15; } | 152 DwVfpRegister double_scratch0() { return d15; } |
| 153 | 153 |
| 154 int GetNextEmittedBlock(int block); | 154 int GetNextEmittedBlock(int block); |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 LCodeGen* codegen_; | 401 LCodeGen* codegen_; |
| 402 Label entry_; | 402 Label entry_; |
| 403 Label exit_; | 403 Label exit_; |
| 404 Label* external_exit_; | 404 Label* external_exit_; |
| 405 int instruction_index_; | 405 int instruction_index_; |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 } } // namespace v8::internal | 408 } } // namespace v8::internal |
| 409 | 409 |
| 410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |