| 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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 // clobbered. | 716 // clobbered. |
| 717 void TryGetFunctionPrototype(Register function, | 717 void TryGetFunctionPrototype(Register function, |
| 718 Register result, | 718 Register result, |
| 719 Register scratch, | 719 Register scratch, |
| 720 Label* miss); | 720 Label* miss); |
| 721 | 721 |
| 722 void GetObjectType(Register function, | 722 void GetObjectType(Register function, |
| 723 Register map, | 723 Register map, |
| 724 Register type_reg); | 724 Register type_reg); |
| 725 | 725 |
| 726 // Check if a map for a JSObject indicates that the object has fast elements. |
| 727 // Jump to the specified label if it does not. |
| 728 void CheckFastElements(Register map, |
| 729 Register scratch, |
| 730 Label* fail); |
| 731 |
| 726 // Check if the map of an object is equal to a specified map (either | 732 // Check if the map of an object is equal to a specified map (either |
| 727 // given directly or as an index into the root list) and branch to | 733 // given directly or as an index into the root list) and branch to |
| 728 // label if not. Skip the smi check if not required (object is known | 734 // label if not. Skip the smi check if not required (object is known |
| 729 // to be a heap object). | 735 // to be a heap object). |
| 730 void CheckMap(Register obj, | 736 void CheckMap(Register obj, |
| 731 Register scratch, | 737 Register scratch, |
| 732 Handle<Map> map, | 738 Handle<Map> map, |
| 733 Label* fail, | 739 Label* fail, |
| 734 SmiCheckType smi_check_type); | 740 SmiCheckType smi_check_type); |
| 735 | 741 |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1219 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1214 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1220 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1215 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1221 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1216 #else | 1222 #else |
| 1217 #define ACCESS_MASM(masm) masm-> | 1223 #define ACCESS_MASM(masm) masm-> |
| 1218 #endif | 1224 #endif |
| 1219 | 1225 |
| 1220 } } // namespace v8::internal | 1226 } } // namespace v8::internal |
| 1221 | 1227 |
| 1222 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1228 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |