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

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

Issue 204353003: Merged r19834, r19843 into 3.23 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.23
Patch Set: Created 6 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 | « src/mips/lithium-codegen-mips.h ('k') | src/mips/lithium-mips.h » ('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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 osr_pc_offset_ = masm()->pc_offset(); 249 osr_pc_offset_ = masm()->pc_offset();
250 250
251 // Adjust the frame size, subsuming the unoptimized frame into the 251 // Adjust the frame size, subsuming the unoptimized frame into the
252 // optimized frame. 252 // optimized frame.
253 int slots = GetStackSlotCount() - graph()->osr()->UnoptimizedFrameSlots(); 253 int slots = GetStackSlotCount() - graph()->osr()->UnoptimizedFrameSlots();
254 ASSERT(slots >= 0); 254 ASSERT(slots >= 0);
255 __ Subu(sp, sp, Operand(slots * kPointerSize)); 255 __ Subu(sp, sp, Operand(slots * kPointerSize));
256 } 256 }
257 257
258 258
259 void LCodeGen::GenerateBodyInstructionPre(LInstruction* instr) {
260 if (!instr->IsLazyBailout() && !instr->IsGap()) {
261 safepoints_.BumpLastLazySafepointIndex();
262 }
263 }
264
265
259 bool LCodeGen::GenerateDeferredCode() { 266 bool LCodeGen::GenerateDeferredCode() {
260 ASSERT(is_generating()); 267 ASSERT(is_generating());
261 if (deferred_.length() > 0) { 268 if (deferred_.length() > 0) {
262 for (int i = 0; !is_aborted() && i < deferred_.length(); i++) { 269 for (int i = 0; !is_aborted() && i < deferred_.length(); i++) {
263 LDeferredCode* code = deferred_[i]; 270 LDeferredCode* code = deferred_[i];
264 271
265 HValue* value = 272 HValue* value =
266 instructions_->at(code->instruction_index())->hydrogen_value(); 273 instructions_->at(code->instruction_index())->hydrogen_value();
267 RecordAndWritePosition(value->position()); 274 RecordAndWritePosition(value->position());
268 275
(...skipping 5620 matching lines...) Expand 10 before | Expand all | Expand 10 after
5889 __ Subu(scratch, result, scratch); 5896 __ Subu(scratch, result, scratch);
5890 __ lw(result, FieldMemOperand(scratch, 5897 __ lw(result, FieldMemOperand(scratch,
5891 FixedArray::kHeaderSize - kPointerSize)); 5898 FixedArray::kHeaderSize - kPointerSize));
5892 __ bind(&done); 5899 __ bind(&done);
5893 } 5900 }
5894 5901
5895 5902
5896 #undef __ 5903 #undef __
5897 5904
5898 } } // namespace v8::internal 5905 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.h ('k') | src/mips/lithium-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698