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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 // Support functions. | 880 // Support functions. |
881 | 881 |
882 // Try to get function prototype of a function and puts the value in | 882 // Try to get function prototype of a function and puts the value in |
883 // the result register. Checks that the function really is a | 883 // the result register. Checks that the function really is a |
884 // function and jumps to the miss label if the fast checks fail. The | 884 // function and jumps to the miss label if the fast checks fail. The |
885 // function register will be untouched; the other registers may be | 885 // function register will be untouched; the other registers may be |
886 // clobbered. | 886 // clobbered. |
887 void TryGetFunctionPrototype(Register function, | 887 void TryGetFunctionPrototype(Register function, |
888 Register result, | 888 Register result, |
889 Register scratch, | 889 Register scratch, |
890 Label* miss); | 890 Label* miss, |
| 891 bool miss_on_bound_function = false); |
891 | 892 |
892 void GetObjectType(Register function, | 893 void GetObjectType(Register function, |
893 Register map, | 894 Register map, |
894 Register type_reg); | 895 Register type_reg); |
895 | 896 |
896 // Check if a map for a JSObject indicates that the object has fast elements. | 897 // Check if a map for a JSObject indicates that the object has fast elements. |
897 // Jump to the specified label if it does not. | 898 // Jump to the specified label if it does not. |
898 void CheckFastElements(Register map, | 899 void CheckFastElements(Register map, |
899 Register scratch, | 900 Register scratch, |
900 Label* fail); | 901 Label* fail); |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1459 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1460 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1460 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1461 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1461 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1462 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1462 #else | 1463 #else |
1463 #define ACCESS_MASM(masm) masm-> | 1464 #define ACCESS_MASM(masm) masm-> |
1464 #endif | 1465 #endif |
1465 | 1466 |
1466 } } // namespace v8::internal | 1467 } } // namespace v8::internal |
1467 | 1468 |
1468 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1469 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |