| 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 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1118 } | 1118 } |
| 1119 | 1119 |
| 1120 | 1120 |
| 1121 Handle<Code> StoreStubCompiler::CompileStoreViaSetter( | 1121 Handle<Code> StoreStubCompiler::CompileStoreViaSetter( |
| 1122 Handle<JSObject> object, | 1122 Handle<JSObject> object, |
| 1123 Handle<JSObject> holder, | 1123 Handle<JSObject> holder, |
| 1124 Handle<Name> name, | 1124 Handle<Name> name, |
| 1125 Handle<JSFunction> setter) { | 1125 Handle<JSFunction> setter) { |
| 1126 Handle<HeapType> type = IC::CurrentTypeOf(object, isolate()); | 1126 Handle<HeapType> type = IC::CurrentTypeOf(object, isolate()); |
| 1127 HandlerFrontend(type, receiver(), holder, name); | 1127 HandlerFrontend(type, receiver(), holder, name); |
| 1128 GenerateStoreViaSetter(masm(), type, setter); | 1128 GenerateStoreViaSetter(masm(), type, receiver(), setter); |
| 1129 | 1129 |
| 1130 return GetCode(kind(), Code::FAST, name); | 1130 return GetCode(kind(), Code::FAST, name); |
| 1131 } | 1131 } |
| 1132 | 1132 |
| 1133 | 1133 |
| 1134 Handle<Code> StoreStubCompiler::CompileStoreCallback( | 1134 Handle<Code> StoreStubCompiler::CompileStoreCallback( |
| 1135 Handle<JSObject> object, | 1135 Handle<JSObject> object, |
| 1136 Handle<JSObject> holder, | 1136 Handle<JSObject> holder, |
| 1137 Handle<Name> name, | 1137 Handle<Name> name, |
| 1138 const CallOptimization& call_optimization) { | 1138 const CallOptimization& call_optimization) { |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1462 Handle<FunctionTemplateInfo>( | 1462 Handle<FunctionTemplateInfo>( |
| 1463 FunctionTemplateInfo::cast(signature->receiver())); | 1463 FunctionTemplateInfo::cast(signature->receiver())); |
| 1464 } | 1464 } |
| 1465 } | 1465 } |
| 1466 | 1466 |
| 1467 is_simple_api_call_ = true; | 1467 is_simple_api_call_ = true; |
| 1468 } | 1468 } |
| 1469 | 1469 |
| 1470 | 1470 |
| 1471 } } // namespace v8::internal | 1471 } } // namespace v8::internal |
| OLD | NEW |