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

Side by Side Diff: runtime/vm/simulator_dbc.cc

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 years, 5 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 | « runtime/vm/scavenger.cc ('k') | runtime/vm/snapshot_test.dart » ('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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <setjmp.h> // NOLINT 5 #include <setjmp.h> // NOLINT
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #if defined(TARGET_ARCH_DBC) 9 #if defined(TARGET_ARCH_DBC)
10 10
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 // Check if single stepping. 1747 // Check if single stepping.
1748 if (thread->isolate()->single_step()) { 1748 if (thread->isolate()->single_step()) {
1749 Exit(thread, FP, SP + 1, pc); 1749 Exit(thread, FP, SP + 1, pc);
1750 NativeArguments args(thread, 0, NULL, NULL); 1750 NativeArguments args(thread, 0, NULL, NULL);
1751 INVOKE_RUNTIME(DRT_SingleStepHandler, args); 1751 INVOKE_RUNTIME(DRT_SingleStepHandler, args);
1752 } 1752 }
1753 1753
1754 // Invoke target function. 1754 // Invoke target function.
1755 { 1755 {
1756 const uint16_t argc = rA; 1756 const uint16_t argc = rA;
1757 // Lookup the funciton in the ICData. 1757 // Look up the function in the ICData.
1758 RawObject* ic_data_obj = SP[0]; 1758 RawObject* ic_data_obj = SP[0];
1759 RawICData* ic_data = RAW_CAST(ICData, ic_data_obj); 1759 RawICData* ic_data = RAW_CAST(ICData, ic_data_obj);
1760 RawObject** data = ic_data->ptr()->ic_data_->ptr()->data(); 1760 RawObject** data = ic_data->ptr()->ic_data_->ptr()->data();
1761 SimulatorHelpers::IncrementICUsageCount(data, 0, 0); 1761 SimulatorHelpers::IncrementICUsageCount(data, 0, 0);
1762 SP[0] = data[ICData::TargetIndexFor(ic_data->ptr()->state_bits_ & 0x3)]; 1762 SP[0] = data[ICData::TargetIndexFor(ic_data->ptr()->state_bits_ & 0x3)];
1763 RawObject** call_base = SP - argc; 1763 RawObject** call_base = SP - argc;
1764 RawObject** call_top = SP; // *SP contains function 1764 RawObject** call_top = SP; // *SP contains function
1765 argdesc = static_cast<RawArray*>(LOAD_CONSTANT(rD)); 1765 argdesc = static_cast<RawArray*>(LOAD_CONSTANT(rD));
1766 Invoke(thread, call_base, call_top, &pp, &pc, &FP, &SP); 1766 Invoke(thread, call_base, call_top, &pp, &pc, &FP, &SP);
1767 } 1767 }
(...skipping 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after
3906 pc_ = pc; 3906 pc_ = pc;
3907 } 3907 }
3908 3908
3909 buf->Longjmp(); 3909 buf->Longjmp();
3910 UNREACHABLE(); 3910 UNREACHABLE();
3911 } 3911 }
3912 3912
3913 } // namespace dart 3913 } // namespace dart
3914 3914
3915 #endif // defined TARGET_ARCH_DBC 3915 #endif // defined TARGET_ARCH_DBC
OLDNEW
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | runtime/vm/snapshot_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698