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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // Returns the condition on which a final split to | 234 // Returns the condition on which a final split to |
235 // true and false label should be made, to optimize fallthrough. | 235 // true and false label should be made, to optimize fallthrough. |
236 Condition EmitIsObject(Register input, | 236 Condition EmitIsObject(Register input, |
237 Label* is_not_object, | 237 Label* is_not_object, |
238 Label* is_object); | 238 Label* is_object); |
239 | 239 |
240 // Emits optimized code for %_IsConstructCall(). | 240 // Emits optimized code for %_IsConstructCall(). |
241 // Caller should branch on equal condition. | 241 // Caller should branch on equal condition. |
242 void EmitIsConstructCall(Register temp); | 242 void EmitIsConstructCall(Register temp); |
243 | 243 |
| 244 void EmitLoadField(Register result, |
| 245 Register object, |
| 246 Handle<Map> type, |
| 247 LookupResult* lookup); |
| 248 |
244 // Emits code for pushing a constant operand. | 249 // Emits code for pushing a constant operand. |
245 void EmitPushConstantOperand(LOperand* operand); | 250 void EmitPushConstantOperand(LOperand* operand); |
246 | 251 |
247 struct JumpTableEntry { | 252 struct JumpTableEntry { |
248 inline JumpTableEntry(Address entry) | 253 inline JumpTableEntry(Address entry) |
249 : label(), | 254 : label(), |
250 address(entry) { } | 255 address(entry) { } |
251 Label label; | 256 Label label; |
252 Address address; | 257 Address address; |
253 }; | 258 }; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 private: | 309 private: |
305 LCodeGen* codegen_; | 310 LCodeGen* codegen_; |
306 Label entry_; | 311 Label entry_; |
307 Label exit_; | 312 Label exit_; |
308 Label* external_exit_; | 313 Label* external_exit_; |
309 }; | 314 }; |
310 | 315 |
311 } } // namespace v8::internal | 316 } } // namespace v8::internal |
312 | 317 |
313 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 318 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |