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

Side by Side Diff: src/arm/lithium-arm.cc

Issue 6588083: Add lazy deoptimization environment to instanceof by marking it as a call.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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/arm/lithium-codegen-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 new LInstanceOf(UseFixed(instr->left(), r0), 1147 new LInstanceOf(UseFixed(instr->left(), r0),
1148 UseFixed(instr->right(), r1)); 1148 UseFixed(instr->right(), r1));
1149 return MarkAsCall(DefineFixed(result, r0), instr); 1149 return MarkAsCall(DefineFixed(result, r0), instr);
1150 } 1150 }
1151 1151
1152 1152
1153 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( 1153 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
1154 HInstanceOfKnownGlobal* instr) { 1154 HInstanceOfKnownGlobal* instr) {
1155 LInstanceOfKnownGlobal* result = 1155 LInstanceOfKnownGlobal* result =
1156 new LInstanceOfKnownGlobal(UseFixed(instr->value(), r0), FixedTemp(r4)); 1156 new LInstanceOfKnownGlobal(UseFixed(instr->value(), r0), FixedTemp(r4));
1157 MarkAsSaveDoubles(result); 1157 return MarkAsCall(DefineFixed(result, r0), instr);
1158 return AssignEnvironment(AssignPointerMap(DefineFixed(result, r0)));
1159 } 1158 }
1160 1159
1161 1160
1162 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { 1161 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
1163 LOperand* function = UseFixed(instr->function(), r1); 1162 LOperand* function = UseFixed(instr->function(), r1);
1164 LOperand* receiver = UseFixed(instr->receiver(), r0); 1163 LOperand* receiver = UseFixed(instr->receiver(), r0);
1165 LOperand* length = UseFixed(instr->length(), r2); 1164 LOperand* length = UseFixed(instr->length(), r2);
1166 LOperand* elements = UseFixed(instr->elements(), r3); 1165 LOperand* elements = UseFixed(instr->elements(), r3);
1167 LApplyArguments* result = new LApplyArguments(function, 1166 LApplyArguments* result = new LApplyArguments(function,
1168 receiver, 1167 receiver,
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
2033 2032
2034 2033
2035 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2034 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2036 HEnvironment* outer = current_block_->last_environment()->outer(); 2035 HEnvironment* outer = current_block_->last_environment()->outer();
2037 current_block_->UpdateEnvironment(outer); 2036 current_block_->UpdateEnvironment(outer);
2038 return NULL; 2037 return NULL;
2039 } 2038 }
2040 2039
2041 2040
2042 } } // namespace v8::internal 2041 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698