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

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

Issue 7097011: Add tracing of the stack height to full code generator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: svn rebase Created 9 years, 5 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/full-codegen-ia32.cc ('k') | 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 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 #ifdef DEBUG 364 #ifdef DEBUG
365 // Check that the size of the code used for returning is large enough 365 // Check that the size of the code used for returning is large enough
366 // for the debugger's requirements. 366 // for the debugger's requirements.
367 ASSERT(Assembler::kJSReturnSequenceInstructions <= 367 ASSERT(Assembler::kJSReturnSequenceInstructions <=
368 masm_->InstructionsGeneratedSince(&check_exit_codesize)); 368 masm_->InstructionsGeneratedSince(&check_exit_codesize));
369 #endif 369 #endif
370 } 370 }
371 } 371 }
372 372
373 373
374 void FullCodeGenerator::verify_stack_height() {}
fschneider 2011/07/25 12:30:36 Is this line necessary? You already defined it in
375
376
374 void FullCodeGenerator::EffectContext::Plug(Slot* slot) const { 377 void FullCodeGenerator::EffectContext::Plug(Slot* slot) const {
375 } 378 }
376 379
377 380
378 void FullCodeGenerator::AccumulatorValueContext::Plug(Slot* slot) const { 381 void FullCodeGenerator::AccumulatorValueContext::Plug(Slot* slot) const {
379 codegen()->Move(result_register(), slot); 382 codegen()->Move(result_register(), slot);
380 } 383 }
381 384
382 385
383 void FullCodeGenerator::StackValueContext::Plug(Slot* slot) const { 386 void FullCodeGenerator::StackValueContext::Plug(Slot* slot) const {
(...skipping 3928 matching lines...) Expand 10 before | Expand all | Expand 10 after
4312 __ Addu(at, a1, Operand(masm_->CodeObject())); 4315 __ Addu(at, a1, Operand(masm_->CodeObject()));
4313 __ Jump(at); 4316 __ Jump(at);
4314 } 4317 }
4315 4318
4316 4319
4317 #undef __ 4320 #undef __
4318 4321
4319 } } // namespace v8::internal 4322 } } // namespace v8::internal
4320 4323
4321 #endif // V8_TARGET_ARCH_MIPS 4324 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698