| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 Register object, | 368 Register object, |
| 369 Handle<Map> type, | 369 Handle<Map> type, |
| 370 Handle<String> name, | 370 Handle<String> name, |
| 371 LEnvironment* env); | 371 LEnvironment* env); |
| 372 | 372 |
| 373 // Emits optimized code to deep-copy the contents of statically known | 373 // Emits optimized code to deep-copy the contents of statically known |
| 374 // object graphs (e.g. object literal boilerplate). | 374 // object graphs (e.g. object literal boilerplate). |
| 375 void EmitDeepCopy(Handle<JSObject> object, | 375 void EmitDeepCopy(Handle<JSObject> object, |
| 376 Register result, | 376 Register result, |
| 377 Register source, | 377 Register source, |
| 378 int* offset); | 378 int* offset, |
| 379 AllocationSiteMode mode); |
| 379 | 380 |
| 380 struct JumpTableEntry { | 381 struct JumpTableEntry { |
| 381 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) | 382 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) |
| 382 : label(), | 383 : label(), |
| 383 address(entry), | 384 address(entry), |
| 384 needs_frame(frame), | 385 needs_frame(frame), |
| 385 is_lazy_deopt(is_lazy) { } | 386 is_lazy_deopt(is_lazy) { } |
| 386 Label label; | 387 Label label; |
| 387 Address address; | 388 Address address; |
| 388 bool needs_frame; | 389 bool needs_frame; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 LCodeGen* codegen_; | 501 LCodeGen* codegen_; |
| 501 Label entry_; | 502 Label entry_; |
| 502 Label exit_; | 503 Label exit_; |
| 503 Label* external_exit_; | 504 Label* external_exit_; |
| 504 int instruction_index_; | 505 int instruction_index_; |
| 505 }; | 506 }; |
| 506 | 507 |
| 507 } } // namespace v8::internal | 508 } } // namespace v8::internal |
| 508 | 509 |
| 509 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 510 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |