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

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

Issue 12096040: Fix Mac problem with stubs initialization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix lint warning 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 | « src/arm/lithium-codegen-arm.cc ('k') | src/isolate.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 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }; 65 };
66 66
67 67
68 #define __ masm()-> 68 #define __ masm()->
69 69
70 bool LCodeGen::GenerateCode() { 70 bool LCodeGen::GenerateCode() {
71 HPhase phase("Z_Code generation", chunk()); 71 HPhase phase("Z_Code generation", chunk());
72 ASSERT(is_unused()); 72 ASSERT(is_unused());
73 status_ = GENERATING; 73 status_ = GENERATING;
74 74
75 CodeStub::GenerateFPStubs();
76
77 // Open a frame scope to indicate that there is a frame on the stack. The 75 // Open a frame scope to indicate that there is a frame on the stack. The
78 // MANUAL indicates that the scope shouldn't actually generate code to set up 76 // MANUAL indicates that the scope shouldn't actually generate code to set up
79 // the frame (that is done in GeneratePrologue). 77 // the frame (that is done in GeneratePrologue).
80 FrameScope frame_scope(masm_, StackFrame::MANUAL); 78 FrameScope frame_scope(masm_, StackFrame::MANUAL);
81 79
82 dynamic_frame_alignment_ = info()->IsOptimizing() && 80 dynamic_frame_alignment_ = info()->IsOptimizing() &&
83 ((chunk()->num_double_slots() > 2 && 81 ((chunk()->num_double_slots() > 2 &&
84 !chunk()->graph()->is_recursive()) || 82 !chunk()->graph()->is_recursive()) ||
85 !info()->osr_ast_id().IsNone()); 83 !info()->osr_ast_id().IsNone());
86 84
(...skipping 5894 matching lines...) Expand 10 before | Expand all | Expand 10 after
5981 FixedArray::kHeaderSize - kPointerSize)); 5979 FixedArray::kHeaderSize - kPointerSize));
5982 __ bind(&done); 5980 __ bind(&done);
5983 } 5981 }
5984 5982
5985 5983
5986 #undef __ 5984 #undef __
5987 5985
5988 } } // namespace v8::internal 5986 } } // namespace v8::internal
5989 5987
5990 #endif // V8_TARGET_ARCH_IA32 5988 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698