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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 | 327 |
328 // Emits code for pushing either a tagged constant, a (non-double) | 328 // Emits code for pushing either a tagged constant, a (non-double) |
329 // register, or a stack slot operand. | 329 // register, or a stack slot operand. |
330 void EmitPushTaggedOperand(LOperand* operand); | 330 void EmitPushTaggedOperand(LOperand* operand); |
331 | 331 |
332 // Emits optimized code to deep-copy the contents of statically known | 332 // Emits optimized code to deep-copy the contents of statically known |
333 // object graphs (e.g. object literal boilerplate). | 333 // object graphs (e.g. object literal boilerplate). |
334 void EmitDeepCopy(Handle<JSObject> object, | 334 void EmitDeepCopy(Handle<JSObject> object, |
335 Register result, | 335 Register result, |
336 Register source, | 336 Register source, |
337 int* offset); | 337 int* offset, |
| 338 AllocationSiteMode mode); |
338 | 339 |
339 struct JumpTableEntry { | 340 struct JumpTableEntry { |
340 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) | 341 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) |
341 : label(), | 342 : label(), |
342 address(entry), | 343 address(entry), |
343 needs_frame(frame), | 344 needs_frame(frame), |
344 is_lazy_deopt(is_lazy) { } | 345 is_lazy_deopt(is_lazy) { } |
345 Label label; | 346 Label label; |
346 Address address; | 347 Address address; |
347 bool needs_frame; | 348 bool needs_frame; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 LCodeGen* codegen_; | 439 LCodeGen* codegen_; |
439 Label entry_; | 440 Label entry_; |
440 Label exit_; | 441 Label exit_; |
441 Label* external_exit_; | 442 Label* external_exit_; |
442 int instruction_index_; | 443 int instruction_index_; |
443 }; | 444 }; |
444 | 445 |
445 } } // namespace v8::internal | 446 } } // namespace v8::internal |
446 | 447 |
447 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 448 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |