| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/cpu-profiler.h" | 9 #include "src/cpu-profiler.h" |
| 10 #include "src/factory.h" | 10 #include "src/factory.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 Handle<Object> probe( | 310 Handle<Object> probe( |
| 311 known_map_->FindInCodeCache( | 311 known_map_->FindInCodeCache( |
| 312 strict() ? | 312 strict() ? |
| 313 *factory->strict_compare_ic_string() : | 313 *factory->strict_compare_ic_string() : |
| 314 *factory->compare_ic_string(), | 314 *factory->compare_ic_string(), |
| 315 flags), | 315 flags), |
| 316 isolate()); | 316 isolate()); |
| 317 if (probe->IsCode()) { | 317 if (probe->IsCode()) { |
| 318 *code_out = Code::cast(*probe); | 318 *code_out = Code::cast(*probe); |
| 319 #ifdef DEBUG | 319 #ifdef DEBUG |
| 320 CompareICStub decode((*code_out)->stub_key()); | 320 CompareICStub decode((*code_out)->stub_key(), isolate()); |
| 321 DCHECK(op() == decode.op()); | 321 DCHECK(op() == decode.op()); |
| 322 DCHECK(left() == decode.left()); | 322 DCHECK(left() == decode.left()); |
| 323 DCHECK(right() == decode.right()); | 323 DCHECK(right() == decode.right()); |
| 324 DCHECK(state() == decode.state()); | 324 DCHECK(state() == decode.state()); |
| 325 #endif | 325 #endif |
| 326 return true; | 326 return true; |
| 327 } | 327 } |
| 328 return false; | 328 return false; |
| 329 } | 329 } |
| 330 | 330 |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 InstallDescriptor(isolate, &stub3); | 1056 InstallDescriptor(isolate, &stub3); |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1059 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 1060 Isolate* isolate) : PlatformCodeStub(isolate) { | 1060 Isolate* isolate) : PlatformCodeStub(isolate) { |
| 1061 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1061 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 | 1064 |
| 1065 } } // namespace v8::internal | 1065 } } // namespace v8::internal |
| OLD | NEW |