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

Side by Side Diff: src/code-stubs-hydrogen.cc

Issue 23845003: Cleaned up deopt reason messages a bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed typo Created 7 years, 3 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 | src/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 881
882 template<> 882 template<>
883 HValue* CodeStubGraphBuilder<ElementsTransitionAndStoreStub>::BuildCodeStub() { 883 HValue* CodeStubGraphBuilder<ElementsTransitionAndStoreStub>::BuildCodeStub() {
884 HValue* value = GetParameter(0); 884 HValue* value = GetParameter(0);
885 HValue* map = GetParameter(1); 885 HValue* map = GetParameter(1);
886 HValue* key = GetParameter(2); 886 HValue* key = GetParameter(2);
887 HValue* object = GetParameter(3); 887 HValue* object = GetParameter(3);
888 888
889 if (FLAG_trace_elements_transitions) { 889 if (FLAG_trace_elements_transitions) {
890 // Tracing elements transitions is the job of the runtime. 890 // Tracing elements transitions is the job of the runtime.
891 Add<HDeoptimize>("Deopt due to --trace-elements-transitions", 891 Add<HDeoptimize>("Tracing elements transitions", Deoptimizer::EAGER);
892 Deoptimizer::EAGER);
893 } else { 892 } else {
894 info()->MarkAsSavesCallerDoubles(); 893 info()->MarkAsSavesCallerDoubles();
895 894
896 BuildTransitionElementsKind(object, map, 895 BuildTransitionElementsKind(object, map,
897 casted_stub()->from_kind(), 896 casted_stub()->from_kind(),
898 casted_stub()->to_kind(), 897 casted_stub()->to_kind(),
899 casted_stub()->is_jsarray()); 898 casted_stub()->is_jsarray());
900 899
901 BuildUncheckedMonomorphicElementAccess(object, key, value, 900 BuildUncheckedMonomorphicElementAccess(object, key, value,
902 casted_stub()->is_jsarray(), 901 casted_stub()->is_jsarray(),
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 return js_function; 1097 return js_function;
1099 } 1098 }
1100 1099
1101 1100
1102 Handle<Code> FastNewClosureStub::GenerateCode(Isolate* isolate) { 1101 Handle<Code> FastNewClosureStub::GenerateCode(Isolate* isolate) {
1103 return DoGenerateCode(isolate, this); 1102 return DoGenerateCode(isolate, this);
1104 } 1103 }
1105 1104
1106 1105
1107 } } // namespace v8::internal 1106 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698