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

Unified Diff: src/crankshaft/lithium-codegen.cc

Issue 2109773004: Move RelocInfo::kNoPosition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@removedead
Patch Set: rebase Created 4 years, 6 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/crankshaft/hydrogen-instructions.h ('k') | src/debug/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/lithium-codegen.cc
diff --git a/src/crankshaft/lithium-codegen.cc b/src/crankshaft/lithium-codegen.cc
index c2401b2400d50c58753a2126397a3a17c57b8bbd..0f7c511dc14e4927ff013e0512eafeb9d0ee8109 100644
--- a/src/crankshaft/lithium-codegen.cc
+++ b/src/crankshaft/lithium-codegen.cc
@@ -37,6 +37,8 @@
#error Unsupported target architecture.
#endif
+#include "src/globals.h"
+
namespace v8 {
namespace internal {
@@ -137,7 +139,7 @@ void LCodeGenBase::CheckEnvironmentUsage() {
}
void LCodeGenBase::RecordAndWritePosition(int pos) {
- if (pos == RelocInfo::kNoPosition) return;
+ if (pos == kNoSourcePosition) return;
source_position_table_builder_.AddPosition(masm_->pc_offset(), pos, false);
}
« no previous file with comments | « src/crankshaft/hydrogen-instructions.h ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698