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

Side by Side Diff: src/vm/selector_row.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/vm/selector_row.h ('k') | src/vm/service_api_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 #ifdef FLETCH_ENABLE_LIVE_CODING 5 #ifdef DARTINO_ENABLE_LIVE_CODING
6 6
7 #include "src/vm/selector_row.h" 7 #include "src/vm/selector_row.h"
8 8
9 #include "src/shared/bytecodes.h" 9 #include "src/shared/bytecodes.h"
10 #include "src/shared/names.h" 10 #include "src/shared/names.h"
11 #include "src/shared/selectors.h" 11 #include "src/shared/selectors.h"
12 12
13 #include "src/vm/program.h" 13 #include "src/vm/program.h"
14 14
15 namespace fletch { 15 namespace dartino {
16 16
17 void SelectorRow::Finalize() { 17 void SelectorRow::Finalize() {
18 ASSERT(IsMatched()); 18 ASSERT(IsMatched());
19 19
20 int variants = variants_; 20 int variants = variants_;
21 21
22 ASSERT(begin_ == -1 && end_ == -1); 22 ASSERT(begin_ == -1 && end_ == -1);
23 Class* first = classes_[0]; 23 Class* first = classes_[0];
24 begin_ = first->id(); 24 begin_ = first->id();
25 end_ = first->child_id(); 25 end_ = first->child_id();
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 309 }
310 } else if (slot.end() <= range.end()) { 310 } else if (slot.end() <= range.end()) {
311 ASSERT(slot.IsSame(range)); 311 ASSERT(slot.IsSame(range));
312 free_slots_.Remove(slot_index); 312 free_slots_.Remove(slot_index);
313 } else { 313 } else {
314 slot.set_begin(range.end()); 314 slot.set_begin(range.end());
315 } 315 }
316 return slot_index; 316 return slot_index;
317 } 317 }
318 318
319 } // namespace fletch 319 } // namespace dartino
320 320
321 #endif // FLETCH_ENABLE_LIVE_CODING 321 #endif // DARTINO_ENABLE_LIVE_CODING
OLDNEW
« no previous file with comments | « src/vm/selector_row.h ('k') | src/vm/service_api_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698