| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 DONE, | 117 DONE, |
| 118 ABORTED | 118 ABORTED |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 bool is_unused() const { return status_ == UNUSED; } | 121 bool is_unused() const { return status_ == UNUSED; } |
| 122 bool is_generating() const { return status_ == GENERATING; } | 122 bool is_generating() const { return status_ == GENERATING; } |
| 123 bool is_done() const { return status_ == DONE; } | 123 bool is_done() const { return status_ == DONE; } |
| 124 bool is_aborted() const { return status_ == ABORTED; } | 124 bool is_aborted() const { return status_ == ABORTED; } |
| 125 | 125 |
| 126 int strict_mode_flag() const { | 126 int strict_mode_flag() const { |
| 127 return info()->is_strict() ? kStrictMode : kNonStrictMode; | 127 return info()->is_strict_mode() ? kStrictMode : kNonStrictMode; |
| 128 } | 128 } |
| 129 | 129 |
| 130 LChunk* chunk() const { return chunk_; } | 130 LChunk* chunk() const { return chunk_; } |
| 131 Scope* scope() const { return scope_; } | 131 Scope* scope() const { return scope_; } |
| 132 HGraph* graph() const { return chunk_->graph(); } | 132 HGraph* graph() const { return chunk_->graph(); } |
| 133 | 133 |
| 134 int GetNextEmittedBlock(int block); | 134 int GetNextEmittedBlock(int block); |
| 135 LInstruction* GetNextInstruction(); | 135 LInstruction* GetNextInstruction(); |
| 136 | 136 |
| 137 void EmitClassOfTest(Label* if_true, | 137 void EmitClassOfTest(Label* if_true, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 private: | 309 private: |
| 310 LCodeGen* codegen_; | 310 LCodeGen* codegen_; |
| 311 Label entry_; | 311 Label entry_; |
| 312 Label exit_; | 312 Label exit_; |
| 313 Label* external_exit_; | 313 Label* external_exit_; |
| 314 }; | 314 }; |
| 315 | 315 |
| 316 } } // namespace v8::internal | 316 } } // namespace v8::internal |
| 317 | 317 |
| 318 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 318 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |