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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 // Returns the condition on which a final split to | 257 // Returns the condition on which a final split to |
258 // true and false label should be made, to optimize fallthrough. | 258 // true and false label should be made, to optimize fallthrough. |
259 Condition EmitIsObject(Register input, | 259 Condition EmitIsObject(Register input, |
260 Label* is_not_object, | 260 Label* is_not_object, |
261 Label* is_object); | 261 Label* is_object); |
262 | 262 |
263 // Emits optimized code for %_IsConstructCall(). | 263 // Emits optimized code for %_IsConstructCall(). |
264 // Caller should branch on equal condition. | 264 // Caller should branch on equal condition. |
265 void EmitIsConstructCall(Register temp); | 265 void EmitIsConstructCall(Register temp); |
266 | 266 |
267 void EmitLoadField(Register result, | 267 void EmitLoadFieldOrConstantFunction(Register result, |
268 Register object, | 268 Register object, |
269 Handle<Map> type, | 269 Handle<Map> type, |
270 Handle<String> name); | 270 Handle<String> name); |
271 | 271 |
272 // Emits code for pushing either a tagged constant, a (non-double) | 272 // Emits code for pushing either a tagged constant, a (non-double) |
273 // register, or a stack slot operand. | 273 // register, or a stack slot operand. |
274 void EmitPushTaggedOperand(LOperand* operand); | 274 void EmitPushTaggedOperand(LOperand* operand); |
275 | 275 |
276 struct JumpTableEntry { | 276 struct JumpTableEntry { |
277 explicit inline JumpTableEntry(Address entry) | 277 explicit inline JumpTableEntry(Address entry) |
278 : label(), | 278 : label(), |
279 address(entry) { } | 279 address(entry) { } |
280 Label label; | 280 Label label; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 private: | 354 private: |
355 LCodeGen* codegen_; | 355 LCodeGen* codegen_; |
356 Label entry_; | 356 Label entry_; |
357 Label exit_; | 357 Label exit_; |
358 Label* external_exit_; | 358 Label* external_exit_; |
359 }; | 359 }; |
360 | 360 |
361 } } // namespace v8::internal | 361 } } // namespace v8::internal |
362 | 362 |
363 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 363 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |