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 Register temp1, | 327 Register temp1, |
328 Label* is_not_string); | 328 Label* is_not_string); |
329 | 329 |
330 // Emits optimized code for %_IsConstructCall(). | 330 // Emits optimized code for %_IsConstructCall(). |
331 // Caller should branch on equal condition. | 331 // Caller should branch on equal condition. |
332 void EmitIsConstructCall(Register temp1, Register temp2); | 332 void EmitIsConstructCall(Register temp1, Register temp2); |
333 | 333 |
334 void EmitLoadFieldOrConstantFunction(Register result, | 334 void EmitLoadFieldOrConstantFunction(Register result, |
335 Register object, | 335 Register object, |
336 Handle<Map> type, | 336 Handle<Map> type, |
337 Handle<String> name); | 337 Handle<String> name, |
| 338 LEnvironment* env); |
338 | 339 |
339 // Emits optimized code to deep-copy the contents of statically known | 340 // Emits optimized code to deep-copy the contents of statically known |
340 // object graphs (e.g. object literal boilerplate). | 341 // object graphs (e.g. object literal boilerplate). |
341 void EmitDeepCopy(Handle<JSObject> object, | 342 void EmitDeepCopy(Handle<JSObject> object, |
342 Register result, | 343 Register result, |
343 Register source, | 344 Register source, |
344 int* offset); | 345 int* offset); |
345 | 346 |
346 struct JumpTableEntry { | 347 struct JumpTableEntry { |
347 explicit inline JumpTableEntry(Address entry) | 348 explicit inline JumpTableEntry(Address entry) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 LCodeGen* codegen_; | 456 LCodeGen* codegen_; |
456 Label entry_; | 457 Label entry_; |
457 Label exit_; | 458 Label exit_; |
458 Label* external_exit_; | 459 Label* external_exit_; |
459 int instruction_index_; | 460 int instruction_index_; |
460 }; | 461 }; |
461 | 462 |
462 } } // namespace v8::internal | 463 } } // namespace v8::internal |
463 | 464 |
464 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 465 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |