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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 121 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
122 Label* map_check); | 122 Label* map_check); |
123 | 123 |
124 void DoCheckMapCommon(Register reg, Register scratch, Handle<Map> map, | 124 void DoCheckMapCommon(Register reg, Register scratch, Handle<Map> map, |
125 CompareMapMode mode, LEnvironment* env); | 125 CompareMapMode mode, LEnvironment* env); |
126 | 126 |
127 // Parallel move support. | 127 // Parallel move support. |
128 void DoParallelMove(LParallelMove* move); | 128 void DoParallelMove(LParallelMove* move); |
129 void DoGap(LGap* instr); | 129 void DoGap(LGap* instr); |
130 | 130 |
| 131 MemOperand PrepareKeyedOperand(Register key, |
| 132 Register base, |
| 133 bool key_is_constant, |
| 134 int constant_key, |
| 135 int element_size, |
| 136 int shift_size, |
| 137 int additional_index, |
| 138 int additional_offset); |
| 139 |
131 // Emit frame translation commands for an environment. | 140 // Emit frame translation commands for an environment. |
132 void WriteTranslation(LEnvironment* environment, Translation* translation); | 141 void WriteTranslation(LEnvironment* environment, Translation* translation); |
133 | 142 |
134 // Declare methods that deal with the individual node types. | 143 // Declare methods that deal with the individual node types. |
135 #define DECLARE_DO(type) void Do##type(L##type* node); | 144 #define DECLARE_DO(type) void Do##type(L##type* node); |
136 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 145 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
137 #undef DECLARE_DO | 146 #undef DECLARE_DO |
138 | 147 |
139 private: | 148 private: |
140 enum Status { | 149 enum Status { |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 LCodeGen* codegen_; | 463 LCodeGen* codegen_; |
455 Label entry_; | 464 Label entry_; |
456 Label exit_; | 465 Label exit_; |
457 Label* external_exit_; | 466 Label* external_exit_; |
458 int instruction_index_; | 467 int instruction_index_; |
459 }; | 468 }; |
460 | 469 |
461 } } // namespace v8::internal | 470 } } // namespace v8::internal |
462 | 471 |
463 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 472 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |