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/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.h" | 10 #include "src/ic/stub-cache.h" |
11 #include "src/macro-assembler.h" | 11 #include "src/macro-assembler.h" |
12 #include "src/stub-cache.h" | |
13 #include "src/type-info.h" | 12 #include "src/type-info.h" |
14 | 13 |
15 #include "src/ic-inl.h" | |
16 #include "src/objects-inl.h" | 14 #include "src/objects-inl.h" |
17 | 15 |
18 namespace v8 { | 16 namespace v8 { |
19 namespace internal { | 17 namespace internal { |
20 | 18 |
21 | 19 |
22 TypeFeedbackOracle::TypeFeedbackOracle(Handle<Code> code, | 20 TypeFeedbackOracle::TypeFeedbackOracle(Handle<Code> code, |
23 Handle<FixedArray> feedback_vector, | 21 Handle<FixedArray> feedback_vector, |
24 Handle<Context> native_context, | 22 Handle<Context> native_context, |
25 Zone* zone) | 23 Zone* zone) |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 UnseededNumberDictionary::kNotFound); | 459 UnseededNumberDictionary::kNotFound); |
462 // Dictionary has been allocated with sufficient size for all elements. | 460 // Dictionary has been allocated with sufficient size for all elements. |
463 DisallowHeapAllocation no_need_to_resize_dictionary; | 461 DisallowHeapAllocation no_need_to_resize_dictionary; |
464 HandleScope scope(isolate()); | 462 HandleScope scope(isolate()); |
465 USE(UnseededNumberDictionary::AtNumberPut( | 463 USE(UnseededNumberDictionary::AtNumberPut( |
466 dictionary_, IdToKey(ast_id), handle(target, isolate()))); | 464 dictionary_, IdToKey(ast_id), handle(target, isolate()))); |
467 } | 465 } |
468 | 466 |
469 | 467 |
470 } } // namespace v8::internal | 468 } } // namespace v8::internal |
OLD | NEW |