| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2118 } | 2118 } |
| 2119 | 2119 |
| 2120 | 2120 |
| 2121 Register StubCompiler::CheckPrototypes(JSObject* object, | 2121 Register StubCompiler::CheckPrototypes(JSObject* object, |
| 2122 Register object_reg, | 2122 Register object_reg, |
| 2123 JSObject* holder, | 2123 JSObject* holder, |
| 2124 Register holder_reg, | 2124 Register holder_reg, |
| 2125 Register scratch, | 2125 Register scratch, |
| 2126 String* name, | 2126 String* name, |
| 2127 int save_at_depth, | 2127 int save_at_depth, |
| 2128 Label* miss) { | 2128 Label* miss, |
| 2129 Register extra) { |
| 2129 // Check that the maps haven't changed. | 2130 // Check that the maps haven't changed. |
| 2130 Register result = | 2131 Register result = |
| 2131 masm()->CheckMaps(object, | 2132 masm()->CheckMaps(object, |
| 2132 object_reg, | 2133 object_reg, |
| 2133 holder, | 2134 holder, |
| 2134 holder_reg, | 2135 holder_reg, |
| 2135 scratch, | 2136 scratch, |
| 2136 save_at_depth, | 2137 save_at_depth, |
| 2137 miss); | 2138 miss); |
| 2138 | 2139 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2331 // Return the generated code. | 2332 // Return the generated code. |
| 2332 return GetCode(); | 2333 return GetCode(); |
| 2333 } | 2334 } |
| 2334 | 2335 |
| 2335 | 2336 |
| 2336 #undef __ | 2337 #undef __ |
| 2337 | 2338 |
| 2338 } } // namespace v8::internal | 2339 } } // namespace v8::internal |
| 2339 | 2340 |
| 2340 #endif // V8_TARGET_ARCH_X64 | 2341 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |