| 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 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1185 MaybeObject* result = recv->SetPropertyWithInterceptor( | 1185 MaybeObject* result = recv->SetPropertyWithInterceptor( |
| 1186 name, value, attr, strict_mode); | 1186 name, value, attr, strict_mode); |
| 1187 return result; | 1187 return result; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 | 1190 |
| 1191 RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor) { | 1191 RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor) { |
| 1192 JSObject* receiver = JSObject::cast(args[0]); | 1192 JSObject* receiver = JSObject::cast(args[0]); |
| 1193 ASSERT(args.smi_at(1) >= 0); | 1193 ASSERT(args.smi_at(1) >= 0); |
| 1194 uint32_t index = args.smi_at(1); | 1194 uint32_t index = args.smi_at(1); |
| 1195 return receiver->GetElementWithInterceptor(receiver, index); | 1195 return receiver->GetElementWithInterceptor(receiver, index, isolate); |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 | 1198 |
| 1199 Handle<Code> StubCompiler::CompileCallInitialize(Code::Flags flags) { | 1199 Handle<Code> StubCompiler::CompileCallInitialize(Code::Flags flags) { |
| 1200 int argc = Code::ExtractArgumentsCountFromFlags(flags); | 1200 int argc = Code::ExtractArgumentsCountFromFlags(flags); |
| 1201 Code::Kind kind = Code::ExtractKindFromFlags(flags); | 1201 Code::Kind kind = Code::ExtractKindFromFlags(flags); |
| 1202 Code::ExtraICState extra_state = Code::ExtractExtraICStateFromFlags(flags); | 1202 Code::ExtraICState extra_state = Code::ExtractExtraICStateFromFlags(flags); |
| 1203 if (kind == Code::CALL_IC) { | 1203 if (kind == Code::CALL_IC) { |
| 1204 CallIC::GenerateInitialize(masm(), argc, extra_state); | 1204 CallIC::GenerateInitialize(masm(), argc, extra_state); |
| 1205 } else { | 1205 } else { |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1581 Handle<FunctionTemplateInfo>( | 1581 Handle<FunctionTemplateInfo>( |
| 1582 FunctionTemplateInfo::cast(signature->receiver())); | 1582 FunctionTemplateInfo::cast(signature->receiver())); |
| 1583 } | 1583 } |
| 1584 } | 1584 } |
| 1585 | 1585 |
| 1586 is_simple_api_call_ = true; | 1586 is_simple_api_call_ = true; |
| 1587 } | 1587 } |
| 1588 | 1588 |
| 1589 | 1589 |
| 1590 } } // namespace v8::internal | 1590 } } // namespace v8::internal |
| OLD | NEW |