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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 void WriteTranslation(LEnvironment* environment, Translation* translation); | 170 void WriteTranslation(LEnvironment* environment, Translation* translation); |
171 | 171 |
172 void EnsureRelocSpaceForDeoptimization(); | 172 void EnsureRelocSpaceForDeoptimization(); |
173 | 173 |
174 // Declare methods that deal with the individual node types. | 174 // Declare methods that deal with the individual node types. |
175 #define DECLARE_DO(type) void Do##type(L##type* node); | 175 #define DECLARE_DO(type) void Do##type(L##type* node); |
176 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 176 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
177 #undef DECLARE_DO | 177 #undef DECLARE_DO |
178 | 178 |
179 private: | 179 private: |
180 StrictModeFlag strict_mode_flag() const { | 180 StrictMode strict_mode() const { return info()->strict_mode(); } |
181 return info()->is_sloppy_mode() ? kSloppyMode : kStrictMode; | |
182 } | |
183 | 181 |
184 Scope* scope() const { return scope_; } | 182 Scope* scope() const { return scope_; } |
185 | 183 |
186 XMMRegister double_scratch0() const { return xmm0; } | 184 XMMRegister double_scratch0() const { return xmm0; } |
187 | 185 |
188 void EmitClassOfTest(Label* if_true, | 186 void EmitClassOfTest(Label* if_true, |
189 Label* if_false, | 187 Label* if_false, |
190 Handle<String> class_name, | 188 Handle<String> class_name, |
191 Register input, | 189 Register input, |
192 Register temporary, | 190 Register temporary, |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 Label exit_; | 534 Label exit_; |
537 Label* external_exit_; | 535 Label* external_exit_; |
538 Label done_; | 536 Label done_; |
539 int instruction_index_; | 537 int instruction_index_; |
540 LCodeGen::X87Stack x87_stack_; | 538 LCodeGen::X87Stack x87_stack_; |
541 }; | 539 }; |
542 | 540 |
543 } } // namespace v8::internal | 541 } } // namespace v8::internal |
544 | 542 |
545 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 543 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |