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

Unified Diff: src/parsing/preparser.h

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/parsing/pattern-rewriter.cc ('k') | src/parsing/rewriter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 8eb95e7e98c13b694b165e305df6f2d648e6eef8..46835cafb9e4b5503d88438fb6222d532d65acc5 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -292,7 +292,7 @@ class PreParserExpression {
void set_index(int index) {} // For YieldExpressions
void set_should_eager_compile() {}
- int position() const { return RelocInfo::kNoPosition; }
+ int position() const { return kNoSourcePosition; }
void set_function_token_position(int position) {}
private:
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/parsing/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698