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

Unified Diff: src/code-stubs.cc

Issue 1297203002: Add CompileInfo::GetDebugName() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@interpreter_immed_bytecodes
Patch Set: Fix test crash Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 42fefce92dbe57563535fd8d25fef7c98eaddc78..df73b61386dbcf6edaea11532046a4ef674b85b9 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -187,8 +187,7 @@ Handle<Code> CodeStub::GetCode() {
}
-const char* CodeStub::MajorName(CodeStub::Major major_key,
- bool allow_unknown_keys) {
+const char* CodeStub::MajorName(CodeStub::Major major_key) {
switch (major_key) {
#define DEF_CASE(name) case name: return #name "Stub";
CODE_STUB_LIST(DEF_CASE)
@@ -204,7 +203,7 @@ const char* CodeStub::MajorName(CodeStub::Major major_key,
void CodeStub::PrintBaseName(std::ostream& os) const { // NOLINT
- os << MajorName(MajorKey(), false);
+ os << MajorName(MajorKey());
}
@@ -481,7 +480,7 @@ Handle<JSFunction> GetFunction(Isolate* isolate, const char* name) {
Handle<Code> TurboFanCodeStub::GenerateCode() {
// Get the outer ("stub generator") function.
- const char* name = CodeStub::MajorName(MajorKey(), false);
+ const char* name = CodeStub::MajorName(MajorKey());
Handle<JSFunction> outer = GetFunction(isolate(), name);
DCHECK_EQ(2, outer->shared()->length());
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698