Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Side by Side Diff: src/objects.cc

Issue 565873002: Removing ic.h from code-stubs.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and mips. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/type-info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/allocation-site-scopes.h" 8 #include "src/allocation-site-scopes.h"
9 #include "src/api.h" 9 #include "src/api.h"
10 #include "src/arguments.h" 10 #include "src/arguments.h"
11 #include "src/base/bits.h" 11 #include "src/base/bits.h"
12 #include "src/bootstrapper.h" 12 #include "src/bootstrapper.h"
13 #include "src/code-stubs.h" 13 #include "src/code-stubs.h"
14 #include "src/codegen.h" 14 #include "src/codegen.h"
15 #include "src/cpu-profiler.h" 15 #include "src/cpu-profiler.h"
16 #include "src/date.h" 16 #include "src/date.h"
17 #include "src/debug.h" 17 #include "src/debug.h"
18 #include "src/deoptimizer.h" 18 #include "src/deoptimizer.h"
19 #include "src/elements.h" 19 #include "src/elements.h"
20 #include "src/execution.h" 20 #include "src/execution.h"
21 #include "src/field-index-inl.h" 21 #include "src/field-index-inl.h"
22 #include "src/field-index.h" 22 #include "src/field-index.h"
23 #include "src/full-codegen.h" 23 #include "src/full-codegen.h"
24 #include "src/heap/mark-compact.h" 24 #include "src/heap/mark-compact.h"
25 #include "src/heap/objects-visiting-inl.h" 25 #include "src/heap/objects-visiting-inl.h"
26 #include "src/hydrogen.h" 26 #include "src/hydrogen.h"
27 #include "src/ic/ic.h"
27 #include "src/isolate-inl.h" 28 #include "src/isolate-inl.h"
28 #include "src/log.h" 29 #include "src/log.h"
29 #include "src/lookup.h" 30 #include "src/lookup.h"
30 #include "src/macro-assembler.h" 31 #include "src/macro-assembler.h"
31 #include "src/objects-inl.h" 32 #include "src/objects-inl.h"
32 #include "src/prototype.h" 33 #include "src/prototype.h"
33 #include "src/safepoint-table.h" 34 #include "src/safepoint-table.h"
34 #include "src/string-search.h" 35 #include "src/string-search.h"
35 #include "src/string-stream.h" 36 #include "src/string-stream.h"
36 #include "src/utils.h" 37 #include "src/utils.h"
(...skipping 10812 matching lines...) Expand 10 before | Expand all | Expand 10 after
10849 } 10850 }
10850 if (is_inline_cache_stub()) { 10851 if (is_inline_cache_stub()) {
10851 os << "ic_state = " << ICState2String(ic_state()) << "\n"; 10852 os << "ic_state = " << ICState2String(ic_state()) << "\n";
10852 PrintExtraICState(os, kind(), extra_ic_state()); 10853 PrintExtraICState(os, kind(), extra_ic_state());
10853 if (ic_state() == MONOMORPHIC) { 10854 if (ic_state() == MONOMORPHIC) {
10854 os << "type = " << StubType2String(type()) << "\n"; 10855 os << "type = " << StubType2String(type()) << "\n";
10855 } 10856 }
10856 if (is_compare_ic_stub()) { 10857 if (is_compare_ic_stub()) {
10857 DCHECK(CodeStub::GetMajorKey(this) == CodeStub::CompareIC); 10858 DCHECK(CodeStub::GetMajorKey(this) == CodeStub::CompareIC);
10858 CompareICStub stub(stub_key(), GetIsolate()); 10859 CompareICStub stub(stub_key(), GetIsolate());
10859 os << "compare_state = " << CompareIC::GetStateName(stub.left()) << "*" 10860 os << "compare_state = " << CompareICState::GetStateName(stub.left())
10860 << CompareIC::GetStateName(stub.right()) << " -> " 10861 << "*" << CompareICState::GetStateName(stub.right()) << " -> "
10861 << CompareIC::GetStateName(stub.state()) << "\n"; 10862 << CompareICState::GetStateName(stub.state()) << "\n";
10862 os << "compare_operation = " << Token::Name(stub.op()) << "\n"; 10863 os << "compare_operation = " << Token::Name(stub.op()) << "\n";
10863 } 10864 }
10864 } 10865 }
10865 if ((name != NULL) && (name[0] != '\0')) { 10866 if ((name != NULL) && (name[0] != '\0')) {
10866 os << "name = " << name << "\n"; 10867 os << "name = " << name << "\n";
10867 } 10868 }
10868 if (kind() == OPTIMIZED_FUNCTION) { 10869 if (kind() == OPTIMIZED_FUNCTION) {
10869 os << "stack_slots = " << stack_slots() << "\n"; 10870 os << "stack_slots = " << stack_slots() << "\n";
10870 } 10871 }
10871 10872
(...skipping 5493 matching lines...) Expand 10 before | Expand all | Expand 10 after
16365 #define ERROR_MESSAGES_TEXTS(C, T) T, 16366 #define ERROR_MESSAGES_TEXTS(C, T) T,
16366 static const char* error_messages_[] = { 16367 static const char* error_messages_[] = {
16367 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) 16368 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS)
16368 }; 16369 };
16369 #undef ERROR_MESSAGES_TEXTS 16370 #undef ERROR_MESSAGES_TEXTS
16370 return error_messages_[reason]; 16371 return error_messages_[reason];
16371 } 16372 }
16372 16373
16373 16374
16374 } } // namespace v8::internal 16375 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698