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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 | 308 |
309 // Emits optimized code for %_IsConstructCall(). | 309 // Emits optimized code for %_IsConstructCall(). |
310 // Caller should branch on equal condition. | 310 // Caller should branch on equal condition. |
311 void EmitIsConstructCall(Register temp1, Register temp2); | 311 void EmitIsConstructCall(Register temp1, Register temp2); |
312 | 312 |
313 void EmitLoadFieldOrConstantFunction(Register result, | 313 void EmitLoadFieldOrConstantFunction(Register result, |
314 Register object, | 314 Register object, |
315 Handle<Map> type, | 315 Handle<Map> type, |
316 Handle<String> name); | 316 Handle<String> name); |
317 | 317 |
| 318 // Emits optimized code to deep-copy the contents of statically known |
| 319 // object graphs (e.g. object literal boilerplate). |
| 320 void EmitDeepCopy(Handle<JSObject> object, |
| 321 Register result, |
| 322 Register source, |
| 323 int* offset); |
| 324 |
318 struct JumpTableEntry { | 325 struct JumpTableEntry { |
319 explicit inline JumpTableEntry(Address entry) | 326 explicit inline JumpTableEntry(Address entry) |
320 : label(), | 327 : label(), |
321 address(entry) { } | 328 address(entry) { } |
322 Label label; | 329 Label label; |
323 Address address; | 330 Address address; |
324 }; | 331 }; |
325 | 332 |
326 void EnsureSpaceForLazyDeopt(); | 333 void EnsureSpaceForLazyDeopt(); |
327 | 334 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 LCodeGen* codegen_; | 432 LCodeGen* codegen_; |
426 Label entry_; | 433 Label entry_; |
427 Label exit_; | 434 Label exit_; |
428 Label* external_exit_; | 435 Label* external_exit_; |
429 int instruction_index_; | 436 int instruction_index_; |
430 }; | 437 }; |
431 | 438 |
432 } } // namespace v8::internal | 439 } } // namespace v8::internal |
433 | 440 |
434 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |