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

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

Issue 13551004: MIPS: Fix ARM build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | no next file » | 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 2057 matching lines...) Expand 10 before | Expand all | Expand 10 after
2068 } 2068 }
2069 2069
2070 2070
2071 LInstruction* LChunkBuilder::DoTransitionElementsKind( 2071 LInstruction* LChunkBuilder::DoTransitionElementsKind(
2072 HTransitionElementsKind* instr) { 2072 HTransitionElementsKind* instr) {
2073 LOperand* object = UseRegister(instr->object()); 2073 LOperand* object = UseRegister(instr->object());
2074 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { 2074 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) {
2075 LOperand* new_map_reg = TempRegister(); 2075 LOperand* new_map_reg = TempRegister();
2076 LTransitionElementsKind* result = 2076 LTransitionElementsKind* result =
2077 new(zone()) LTransitionElementsKind(object, new_map_reg, NULL); 2077 new(zone()) LTransitionElementsKind(object, new_map_reg, NULL);
2078 return DefineSameAsFirst(result); 2078 return result;
2079 } else if (FLAG_compiled_transitions) { 2079 } else if (FLAG_compiled_transitions) {
2080 LTransitionElementsKind* result = 2080 LTransitionElementsKind* result =
2081 new(zone()) LTransitionElementsKind(object, NULL, NULL); 2081 new(zone()) LTransitionElementsKind(object, NULL, NULL);
2082 return AssignPointerMap(result); 2082 return AssignPointerMap(result);
2083 } else { 2083 } else {
2084 LOperand* object = UseFixed(instr->object(), a0); 2084 LOperand* object = UseFixed(instr->object(), a0);
2085 LOperand* fixed_object_reg = FixedTemp(a2); 2085 LOperand* fixed_object_reg = FixedTemp(a2);
2086 LOperand* new_map_reg = FixedTemp(a3); 2086 LOperand* new_map_reg = FixedTemp(a3);
2087 LTransitionElementsKind* result = 2087 LTransitionElementsKind* result =
2088 new(zone()) LTransitionElementsKind(object, 2088 new(zone()) LTransitionElementsKind(object,
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 2410
2411 2411
2412 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2412 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2413 LOperand* object = UseRegister(instr->object()); 2413 LOperand* object = UseRegister(instr->object());
2414 LOperand* index = UseRegister(instr->index()); 2414 LOperand* index = UseRegister(instr->index());
2415 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2415 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2416 } 2416 }
2417 2417
2418 2418
2419 } } // namespace v8::internal 2419 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698