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

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

Issue 12091042: MIPS: Fix Mac problem with stubs initialization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 61
62 #define __ masm()-> 62 #define __ masm()->
63 63
64 bool LCodeGen::GenerateCode() { 64 bool LCodeGen::GenerateCode() {
65 HPhase phase("Z_Code generation", chunk()); 65 HPhase phase("Z_Code generation", chunk());
66 ASSERT(is_unused()); 66 ASSERT(is_unused());
67 status_ = GENERATING; 67 status_ = GENERATING;
68 CpuFeatures::Scope scope(FPU); 68 CpuFeatures::Scope scope(FPU);
69 69
70 CodeStub::GenerateFPStubs();
71
72 // Open a frame scope to indicate that there is a frame on the stack. The 70 // Open a frame scope to indicate that there is a frame on the stack. The
73 // NONE indicates that the scope shouldn't actually generate code to set up 71 // NONE indicates that the scope shouldn't actually generate code to set up
74 // the frame (that is done in GeneratePrologue). 72 // the frame (that is done in GeneratePrologue).
75 FrameScope frame_scope(masm_, StackFrame::NONE); 73 FrameScope frame_scope(masm_, StackFrame::NONE);
76 74
77 return GeneratePrologue() && 75 return GeneratePrologue() &&
78 GenerateBody() && 76 GenerateBody() &&
79 GenerateDeferredCode() && 77 GenerateDeferredCode() &&
80 GenerateDeoptJumpTable() && 78 GenerateDeoptJumpTable() &&
81 GenerateSafepointTable(); 79 GenerateSafepointTable();
(...skipping 5747 matching lines...) Expand 10 before | Expand all | Expand 10 after
5829 __ Subu(scratch, result, scratch); 5827 __ Subu(scratch, result, scratch);
5830 __ lw(result, FieldMemOperand(scratch, 5828 __ lw(result, FieldMemOperand(scratch,
5831 FixedArray::kHeaderSize - kPointerSize)); 5829 FixedArray::kHeaderSize - kPointerSize));
5832 __ bind(&done); 5830 __ bind(&done);
5833 } 5831 }
5834 5832
5835 5833
5836 #undef __ 5834 #undef __
5837 5835
5838 } } // namespace v8::internal 5836 } } // 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