| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 "v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "allocation-site-scopes.h" | 8 #include "src/allocation-site-scopes.h" |
| 9 #include "api.h" | 9 #include "src/api.h" |
| 10 #include "arguments.h" | 10 #include "src/arguments.h" |
| 11 #include "bootstrapper.h" | 11 #include "src/bootstrapper.h" |
| 12 #include "codegen.h" | 12 #include "src/codegen.h" |
| 13 #include "code-stubs.h" | 13 #include "src/code-stubs.h" |
| 14 #include "cpu-profiler.h" | 14 #include "src/cpu-profiler.h" |
| 15 #include "debug.h" | 15 #include "src/debug.h" |
| 16 #include "deoptimizer.h" | 16 #include "src/deoptimizer.h" |
| 17 #include "date.h" | 17 #include "src/date.h" |
| 18 #include "elements.h" | 18 #include "src/elements.h" |
| 19 #include "execution.h" | 19 #include "src/execution.h" |
| 20 #include "full-codegen.h" | 20 #include "src/full-codegen.h" |
| 21 #include "hydrogen.h" | 21 #include "src/hydrogen.h" |
| 22 #include "isolate-inl.h" | 22 #include "src/isolate-inl.h" |
| 23 #include "log.h" | 23 #include "src/log.h" |
| 24 #include "objects-inl.h" | 24 #include "src/objects-inl.h" |
| 25 #include "objects-visiting-inl.h" | 25 #include "src/objects-visiting-inl.h" |
| 26 #include "macro-assembler.h" | 26 #include "src/macro-assembler.h" |
| 27 #include "mark-compact.h" | 27 #include "src/mark-compact.h" |
| 28 #include "safepoint-table.h" | 28 #include "src/safepoint-table.h" |
| 29 #include "string-search.h" | 29 #include "src/string-search.h" |
| 30 #include "string-stream.h" | 30 #include "src/string-stream.h" |
| 31 #include "utils.h" | 31 #include "src/utils.h" |
| 32 | 32 |
| 33 #ifdef ENABLE_DISASSEMBLER | 33 #ifdef ENABLE_DISASSEMBLER |
| 34 #include "disasm.h" | 34 #include "src/disasm.h" |
| 35 #include "disassembler.h" | 35 #include "src/disassembler.h" |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 namespace v8 { | 38 namespace v8 { |
| 39 namespace internal { | 39 namespace internal { |
| 40 | 40 |
| 41 Handle<HeapType> Object::OptimalType(Isolate* isolate, | 41 Handle<HeapType> Object::OptimalType(Isolate* isolate, |
| 42 Representation representation) { | 42 Representation representation) { |
| 43 if (representation.IsNone()) return HeapType::None(isolate); | 43 if (representation.IsNone()) return HeapType::None(isolate); |
| 44 if (FLAG_track_field_types) { | 44 if (FLAG_track_field_types) { |
| 45 if (representation.IsHeapObject() && IsHeapObject()) { | 45 if (representation.IsHeapObject() && IsHeapObject()) { |
| (...skipping 17116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17162 #define ERROR_MESSAGES_TEXTS(C, T) T, | 17162 #define ERROR_MESSAGES_TEXTS(C, T) T, |
| 17163 static const char* error_messages_[] = { | 17163 static const char* error_messages_[] = { |
| 17164 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) | 17164 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) |
| 17165 }; | 17165 }; |
| 17166 #undef ERROR_MESSAGES_TEXTS | 17166 #undef ERROR_MESSAGES_TEXTS |
| 17167 return error_messages_[reason]; | 17167 return error_messages_[reason]; |
| 17168 } | 17168 } |
| 17169 | 17169 |
| 17170 | 17170 |
| 17171 } } // namespace v8::internal | 17171 } } // namespace v8::internal |
| OLD | NEW |