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

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

Issue 7050039: Revert 8122 (stub call asserts) while test failures are investigated. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 6 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/ia32/ic-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 }; 63 };
64 64
65 65
66 #define __ masm()-> 66 #define __ masm()->
67 67
68 bool LCodeGen::GenerateCode() { 68 bool LCodeGen::GenerateCode() {
69 HPhase phase("Code generation", chunk()); 69 HPhase phase("Code generation", chunk());
70 ASSERT(is_unused()); 70 ASSERT(is_unused());
71 status_ = GENERATING; 71 status_ = GENERATING;
72 CpuFeatures::Scope scope(SSE2); 72 CpuFeatures::Scope scope(SSE2);
73
74 // Open a frame scope to indicate that there is a frame on the stack. The
75 // MANUAL indicates that the scope shouldn't actually generate code to set up
76 // the frame (that is done in GeneratePrologue).
77 FrameScope frame_scope(masm_, StackFrame::MANUAL);
78
79 return GeneratePrologue() && 73 return GeneratePrologue() &&
80 GenerateBody() && 74 GenerateBody() &&
81 GenerateDeferredCode() && 75 GenerateDeferredCode() &&
82 GenerateSafepointTable(); 76 GenerateSafepointTable();
83 } 77 }
84 78
85 79
86 void LCodeGen::FinishCode(Handle<Code> code) { 80 void LCodeGen::FinishCode(Handle<Code> code) {
87 ASSERT(is_done()); 81 ASSERT(is_done());
88 code->set_stack_slots(GetStackSlotCount()); 82 code->set_stack_slots(GetStackSlotCount());
(...skipping 4390 matching lines...) Expand 10 before | Expand all | Expand 10 after
4479 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); 4473 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));
4480 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); 4474 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator);
4481 } 4475 }
4482 4476
4483 4477
4484 #undef __ 4478 #undef __
4485 4479
4486 } } // namespace v8::internal 4480 } } // namespace v8::internal
4487 4481
4488 #endif // V8_TARGET_ARCH_IA32 4482 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698