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

Unified Diff: runtime/vm/code_descriptors_test.cc

Issue 144343002: Rename kDummyTokenIndex to kNoSourcePos (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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 | « runtime/vm/class_finalizer_test.cc ('k') | runtime/vm/code_generator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors_test.cc
===================================================================
--- runtime/vm/code_descriptors_test.cc (revision 31966)
+++ runtime/vm/code_descriptors_test.cc (working copy)
@@ -17,7 +17,7 @@
namespace dart {
-static const intptr_t kPos = Scanner::kDummyTokenIndex;
+static const intptr_t kPos = Scanner::kNoSourcePos;
CODEGEN_TEST_GENERATE(StackmapCodegen, test) {
@@ -25,7 +25,7 @@
const String& function_name = String::ZoneHandle(Symbols::New("test"));
Class& cls = Class::ZoneHandle();
const Script& script = Script::Handle();
- cls = Class::New(function_name, script, Scanner::kDummyTokenIndex);
+ cls = Class::New(function_name, script, Scanner::kNoSourcePos);
const Function& function = Function::ZoneHandle(
Function::New(function_name, RawFunction::kRegularFunction,
true, false, false, false, false, cls, 0));
« no previous file with comments | « runtime/vm/class_finalizer_test.cc ('k') | runtime/vm/code_generator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698