| 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 1738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1749 ic_stats->End(); | 1749 ic_stats->End(); |
| 1750 return; | 1750 return; |
| 1751 } | 1751 } |
| 1752 OFStream os(stdout); | 1752 OFStream os(stdout); |
| 1753 os << "["; | 1753 os << "["; |
| 1754 PrintBaseName(os); | 1754 PrintBaseName(os); |
| 1755 os << ": " << from << "=>" << to << "]" << std::endl; | 1755 os << ": " << from << "=>" << to << "]" << std::endl; |
| 1756 } | 1756 } |
| 1757 | 1757 |
| 1758 void CallICStub::PrintState(std::ostream& os) const { // NOLINT | 1758 void CallICStub::PrintState(std::ostream& os) const { // NOLINT |
| 1759 os << state(); | 1759 os << convert_mode() << ", " << tail_call_mode(); |
| 1760 } |
| 1761 |
| 1762 void CallICTrampolineStub::PrintState(std::ostream& os) const { // NOLINT |
| 1763 os << convert_mode() << ", " << tail_call_mode(); |
| 1760 } | 1764 } |
| 1761 | 1765 |
| 1762 void CallICTrampolineStub::GenerateAssembly( | 1766 void CallICTrampolineStub::GenerateAssembly( |
| 1763 compiler::CodeAssemblerState* state) const { | 1767 compiler::CodeAssemblerState* state) const { |
| 1764 typedef compiler::Node Node; | 1768 typedef compiler::Node Node; |
| 1765 CodeStubAssembler assembler(state); | 1769 CodeStubAssembler assembler(state); |
| 1766 | 1770 |
| 1767 Node* context = assembler.Parameter(Descriptor::kContext); | 1771 Node* context = assembler.Parameter(Descriptor::kContext); |
| 1768 Node* target = assembler.Parameter(Descriptor::kFunction); | 1772 Node* target = assembler.Parameter(Descriptor::kFunction); |
| 1769 Node* argc = assembler.Parameter(Descriptor::kActualArgumentsCount); | 1773 Node* argc = assembler.Parameter(Descriptor::kActualArgumentsCount); |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2192 } | 2196 } |
| 2193 | 2197 |
| 2194 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 2198 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) |
| 2195 : PlatformCodeStub(isolate) {} | 2199 : PlatformCodeStub(isolate) {} |
| 2196 | 2200 |
| 2197 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) | 2201 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) |
| 2198 : PlatformCodeStub(isolate) {} | 2202 : PlatformCodeStub(isolate) {} |
| 2199 | 2203 |
| 2200 } // namespace internal | 2204 } // namespace internal |
| 2201 } // namespace v8 | 2205 } // namespace v8 |
| OLD | NEW |