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

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

Issue 17141004: Cosmetic change: s/arg_descriptor/args_descriptor/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/code_patcher_arm_test.cc » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "vm/code_generator.h" 5 #include "vm/code_generator.h"
6 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 #include "vm/ast.h" 8 #include "vm/ast.h"
9 #include "vm/bigint_operations.h" 9 #include "vm/bigint_operations.h"
10 #include "vm/code_patcher.h" 10 #include "vm/code_patcher.h"
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 ASSERT(arguments.ArgCount() == 864 ASSERT(arguments.ArgCount() ==
865 kBreakpointDynamicHandlerRuntimeEntry.argument_count()); 865 kBreakpointDynamicHandlerRuntimeEntry.argument_count());
866 ASSERT(isolate->debugger() != NULL); 866 ASSERT(isolate->debugger() != NULL);
867 isolate->debugger()->SignalBpReached(); 867 isolate->debugger()->SignalBpReached();
868 } 868 }
869 869
870 870
871 static RawFunction* InlineCacheMissHandler( 871 static RawFunction* InlineCacheMissHandler(
872 const GrowableArray<const Instance*>& args, 872 const GrowableArray<const Instance*>& args,
873 const ICData& ic_data, 873 const ICData& ic_data,
874 const Array& arg_descriptor_array) { 874 const Array& args_descriptor_array) {
875 const Instance& receiver = *args[0]; 875 const Instance& receiver = *args[0];
876 const Code& target_code = 876 const Code& target_code =
877 Code::Handle(ResolveCompileInstanceCallTarget(receiver, 877 Code::Handle(ResolveCompileInstanceCallTarget(receiver,
878 ic_data, 878 ic_data,
879 arg_descriptor_array)); 879 args_descriptor_array));
880 if (target_code.IsNull()) { 880 if (target_code.IsNull()) {
881 // Let the megamorphic stub handle special cases: NoSuchMethod, 881 // Let the megamorphic stub handle special cases: NoSuchMethod,
882 // closure calls. 882 // closure calls.
883 if (FLAG_trace_ic) { 883 if (FLAG_trace_ic) {
884 OS::PrintErr("InlineCacheMissHandler NULL code for receiver: %s\n", 884 OS::PrintErr("InlineCacheMissHandler NULL code for receiver: %s\n",
885 receiver.ToCString()); 885 receiver.ToCString());
886 } 886 }
887 return Function::null(); 887 return Function::null();
888 } 888 }
889 const Function& target_function = 889 const Function& target_function =
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 // Arg1: Value that is being stored. 1800 // Arg1: Value that is being stored.
1801 DEFINE_RUNTIME_ENTRY(UpdateFieldCid, 2) { 1801 DEFINE_RUNTIME_ENTRY(UpdateFieldCid, 2) {
1802 ASSERT(arguments.ArgCount() == kUpdateFieldCidRuntimeEntry.argument_count()); 1802 ASSERT(arguments.ArgCount() == kUpdateFieldCidRuntimeEntry.argument_count());
1803 const Field& field = Field::CheckedHandle(arguments.ArgAt(0)); 1803 const Field& field = Field::CheckedHandle(arguments.ArgAt(0));
1804 const Object& value = Object::Handle(arguments.ArgAt(1)); 1804 const Object& value = Object::Handle(arguments.ArgAt(1));
1805 1805
1806 field.UpdateCid(value.GetClassId()); 1806 field.UpdateCid(value.GetClassId());
1807 } 1807 }
1808 1808
1809 } // namespace dart 1809 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_patcher_arm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698