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