Chromium Code Reviews

Unified Diff: src/hydrogen-instructions.h

Issue 914413007: CpuProfiler: move InlinedFunctionInfo class from HGraphBuilder to CompilationInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« src/compiler.h ('K') | « src/hydrogen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 6237fc94d7d4e89a7bc1e50f0f7f6642401305cd..7e51c133f2b6cb124318837b396cdc0cb81a938d 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -426,6 +426,9 @@ class HSourcePosition {
static HSourcePosition Unknown() {
return HSourcePosition(RelocInfo::kNoPosition);
}
+ static HSourcePosition FromRaw(int raw_value) {
+ return HSourcePosition(raw_value);
+ }
bool IsUnknown() const { return value_ == RelocInfo::kNoPosition; }
« src/compiler.h ('K') | « src/hydrogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine