| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 bool is_aborted() const { return status_ == ABORTED; } | 159 bool is_aborted() const { return status_ == ABORTED; } |
| 160 | 160 |
| 161 StrictModeFlag strict_mode_flag() const { | 161 StrictModeFlag strict_mode_flag() const { |
| 162 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; | 162 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
| 163 } | 163 } |
| 164 | 164 |
| 165 LPlatformChunk* chunk() const { return chunk_; } | 165 LPlatformChunk* chunk() const { return chunk_; } |
| 166 Scope* scope() const { return scope_; } | 166 Scope* scope() const { return scope_; } |
| 167 HGraph* graph() const { return chunk()->graph(); } | 167 HGraph* graph() const { return chunk()->graph(); } |
| 168 | 168 |
| 169 XMMRegister double_scratch0() const { return xmm0; } |
| 170 |
| 169 int GetNextEmittedBlock() const; | 171 int GetNextEmittedBlock() const; |
| 170 | 172 |
| 171 void EmitClassOfTest(Label* if_true, | 173 void EmitClassOfTest(Label* if_true, |
| 172 Label* if_false, | 174 Label* if_false, |
| 173 Handle<String> class_name, | 175 Handle<String> class_name, |
| 174 Register input, | 176 Register input, |
| 175 Register temporary, | 177 Register temporary, |
| 176 Register scratch); | 178 Register scratch); |
| 177 | 179 |
| 178 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 180 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 Label entry_; | 443 Label entry_; |
| 442 Label exit_; | 444 Label exit_; |
| 443 Label done_; | 445 Label done_; |
| 444 Label* external_exit_; | 446 Label* external_exit_; |
| 445 int instruction_index_; | 447 int instruction_index_; |
| 446 }; | 448 }; |
| 447 | 449 |
| 448 } } // namespace v8::internal | 450 } } // namespace v8::internal |
| 449 | 451 |
| 450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 452 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |