| 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/type-info.h" |
| 6 | 6 |
| 7 #include "src/ast.h" | 7 #include "src/ast.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/compiler.h" | 9 #include "src/compiler.h" |
| 10 #include "src/ic/ic.h" | 10 #include "src/ic/ic.h" |
| 11 #include "src/ic/stub-cache.h" | 11 #include "src/ic/stub-cache.h" |
| 12 #include "src/type-info.h" | 12 #include "src/objects-inl.h" |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 | 17 |
| 18 TypeFeedbackOracle::TypeFeedbackOracle( | 18 TypeFeedbackOracle::TypeFeedbackOracle( |
| 19 Isolate* isolate, Zone* zone, Handle<Code> code, | 19 Isolate* isolate, Zone* zone, Handle<Code> code, |
| 20 Handle<TypeFeedbackVector> feedback_vector, Handle<Context> native_context) | 20 Handle<TypeFeedbackVector> feedback_vector, Handle<Context> native_context) |
| 21 : native_context_(native_context), isolate_(isolate), zone_(zone) { | 21 : native_context_(native_context), isolate_(isolate), zone_(zone) { |
| 22 BuildDictionary(code); | 22 BuildDictionary(code); |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 // Dictionary has been allocated with sufficient size for all elements. | 524 // Dictionary has been allocated with sufficient size for all elements. |
| 525 DisallowHeapAllocation no_need_to_resize_dictionary; | 525 DisallowHeapAllocation no_need_to_resize_dictionary; |
| 526 HandleScope scope(isolate()); | 526 HandleScope scope(isolate()); |
| 527 USE(UnseededNumberDictionary::AtNumberPut( | 527 USE(UnseededNumberDictionary::AtNumberPut( |
| 528 dictionary_, IdToKey(ast_id), handle(target, isolate()))); | 528 dictionary_, IdToKey(ast_id), handle(target, isolate()))); |
| 529 } | 529 } |
| 530 | 530 |
| 531 | 531 |
| 532 } // namespace internal | 532 } // namespace internal |
| 533 } // namespace v8 | 533 } // namespace v8 |
| OLD | NEW |