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

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

Issue 9139051: Cosmetic changes ("set up" is a verb, "setup" is a noun). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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/macro-assembler-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 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 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after
2787 } 2787 }
2788 2788
2789 LPointerMap* pointers = instr->pointer_map(); 2789 LPointerMap* pointers = instr->pointer_map();
2790 RecordPosition(pointers->position()); 2790 RecordPosition(pointers->position());
2791 2791
2792 // Invoke function. 2792 // Invoke function.
2793 __ SetCallKind(t1, call_kind); 2793 __ SetCallKind(t1, call_kind);
2794 __ lw(at, FieldMemOperand(a1, JSFunction::kCodeEntryOffset)); 2794 __ lw(at, FieldMemOperand(a1, JSFunction::kCodeEntryOffset));
2795 __ Call(at); 2795 __ Call(at);
2796 2796
2797 // Setup deoptimization. 2797 // Set up deoptimization.
2798 RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); 2798 RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT);
2799 2799
2800 // Restore context. 2800 // Restore context.
2801 __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); 2801 __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
2802 } 2802 }
2803 2803
2804 2804
2805 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) { 2805 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) {
2806 ASSERT(ToRegister(instr->result()).is(v0)); 2806 ASSERT(ToRegister(instr->result()).is(v0));
2807 __ mov(a0, v0); 2807 __ mov(a0, v0);
(...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after
4685 ASSERT(!environment->HasBeenRegistered()); 4685 ASSERT(!environment->HasBeenRegistered());
4686 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); 4686 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt);
4687 ASSERT(osr_pc_offset_ == -1); 4687 ASSERT(osr_pc_offset_ == -1);
4688 osr_pc_offset_ = masm()->pc_offset(); 4688 osr_pc_offset_ = masm()->pc_offset();
4689 } 4689 }
4690 4690
4691 4691
4692 #undef __ 4692 #undef __
4693 4693
4694 } } // namespace v8::internal 4694 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.h ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698