| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 154 |
| 155 // Emit frame translation commands for an environment. | 155 // Emit frame translation commands for an environment. |
| 156 void WriteTranslation(LEnvironment* environment, Translation* translation); | 156 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 157 | 157 |
| 158 // Declare methods that deal with the individual node types. | 158 // Declare methods that deal with the individual node types. |
| 159 #define DECLARE_DO(type) void Do##type(L##type* node); | 159 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 160 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 160 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 161 #undef DECLARE_DO | 161 #undef DECLARE_DO |
| 162 | 162 |
| 163 private: | 163 private: |
| 164 StrictModeFlag strict_mode_flag() const { | 164 StrictMode strict_mode_flag() const { |
| 165 return info()->is_sloppy_mode() ? kSloppyMode : kStrictMode; | 165 return info()->is_sloppy_mode() ? kSloppyMode : kStrictMode; |
| 166 } | 166 } |
| 167 | 167 |
| 168 Scope* scope() const { return scope_; } | 168 Scope* scope() const { return scope_; } |
| 169 | 169 |
| 170 Register scratch0() { return kLithiumScratchReg; } | 170 Register scratch0() { return kLithiumScratchReg; } |
| 171 Register scratch1() { return kLithiumScratchReg2; } | 171 Register scratch1() { return kLithiumScratchReg2; } |
| 172 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } | 172 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } |
| 173 | 173 |
| 174 LInstruction* GetNextInstruction(); | 174 LInstruction* GetNextInstruction(); |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 LCodeGen* codegen_; | 497 LCodeGen* codegen_; |
| 498 Label entry_; | 498 Label entry_; |
| 499 Label exit_; | 499 Label exit_; |
| 500 Label* external_exit_; | 500 Label* external_exit_; |
| 501 int instruction_index_; | 501 int instruction_index_; |
| 502 }; | 502 }; |
| 503 | 503 |
| 504 } } // namespace v8::internal | 504 } } // namespace v8::internal |
| 505 | 505 |
| 506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |