| 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 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 } | 1265 } |
| 1266 } | 1266 } |
| 1267 | 1267 |
| 1268 | 1268 |
| 1269 Handle<Code> BaseLoadStoreStubCompiler::GetICCode(Code::Kind kind, | 1269 Handle<Code> BaseLoadStoreStubCompiler::GetICCode(Code::Kind kind, |
| 1270 Code::StubType type, | 1270 Code::StubType type, |
| 1271 Handle<Name> name, | 1271 Handle<Name> name, |
| 1272 InlineCacheState state) { | 1272 InlineCacheState state) { |
| 1273 Code::Flags flags = Code::ComputeFlags(kind, state, extra_state(), type); | 1273 Code::Flags flags = Code::ComputeFlags(kind, state, extra_state(), type); |
| 1274 Handle<Code> code = GetCodeWithFlags(flags, name); | 1274 Handle<Code> code = GetCodeWithFlags(flags, name); |
| 1275 IC::RegisterWeakMapDependency(code); |
| 1275 PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, *name)); | 1276 PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, *name)); |
| 1276 JitEvent(name, code); | 1277 JitEvent(name, code); |
| 1277 return code; | 1278 return code; |
| 1278 } | 1279 } |
| 1279 | 1280 |
| 1280 | 1281 |
| 1281 Handle<Code> BaseLoadStoreStubCompiler::GetCode(Code::Kind kind, | 1282 Handle<Code> BaseLoadStoreStubCompiler::GetCode(Code::Kind kind, |
| 1282 Code::StubType type, | 1283 Code::StubType type, |
| 1283 Handle<Name> name) { | 1284 Handle<Name> name) { |
| 1284 ASSERT_EQ(kNoExtraICState, extra_state()); | 1285 ASSERT_EQ(kNoExtraICState, extra_state()); |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 Handle<FunctionTemplateInfo>( | 1494 Handle<FunctionTemplateInfo>( |
| 1494 FunctionTemplateInfo::cast(signature->receiver())); | 1495 FunctionTemplateInfo::cast(signature->receiver())); |
| 1495 } | 1496 } |
| 1496 } | 1497 } |
| 1497 | 1498 |
| 1498 is_simple_api_call_ = true; | 1499 is_simple_api_call_ = true; |
| 1499 } | 1500 } |
| 1500 | 1501 |
| 1501 | 1502 |
| 1502 } } // namespace v8::internal | 1503 } } // namespace v8::internal |
| OLD | NEW |