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

Side by Side Diff: src/debug.h

Issue 362003: Fix issue 491: constantpool dump violates ARM debugger assertion for return p... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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/fast-codegen-arm.cc ('k') | test/mjsunit/regress/regress-491.js » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 370
371 // Code generation assumptions. 371 // Code generation assumptions.
372 static const int kIa32CallInstructionLength = 5; 372 static const int kIa32CallInstructionLength = 5;
373 static const int kIa32JSReturnSequenceLength = 6; 373 static const int kIa32JSReturnSequenceLength = 6;
374 374
375 // The x64 JS return sequence is padded with int3 to make it large 375 // The x64 JS return sequence is padded with int3 to make it large
376 // enough to hold a call instruction when the debugger patches it. 376 // enough to hold a call instruction when the debugger patches it.
377 static const int kX64CallInstructionLength = 13; 377 static const int kX64CallInstructionLength = 13;
378 static const int kX64JSReturnSequenceLength = 13; 378 static const int kX64JSReturnSequenceLength = 13;
379 379
380 static const int kARMJSReturnSequenceLength = 4;
381
380 // Code generator routines. 382 // Code generator routines.
381 static void GenerateLoadICDebugBreak(MacroAssembler* masm); 383 static void GenerateLoadICDebugBreak(MacroAssembler* masm);
382 static void GenerateStoreICDebugBreak(MacroAssembler* masm); 384 static void GenerateStoreICDebugBreak(MacroAssembler* masm);
383 static void GenerateKeyedLoadICDebugBreak(MacroAssembler* masm); 385 static void GenerateKeyedLoadICDebugBreak(MacroAssembler* masm);
384 static void GenerateKeyedStoreICDebugBreak(MacroAssembler* masm); 386 static void GenerateKeyedStoreICDebugBreak(MacroAssembler* masm);
385 static void GenerateConstructCallDebugBreak(MacroAssembler* masm); 387 static void GenerateConstructCallDebugBreak(MacroAssembler* masm);
386 static void GenerateReturnDebugBreak(MacroAssembler* masm); 388 static void GenerateReturnDebugBreak(MacroAssembler* masm);
387 static void GenerateStubNoRegistersDebugBreak(MacroAssembler* masm); 389 static void GenerateStubNoRegistersDebugBreak(MacroAssembler* masm);
388 390
389 // Called from stub-cache.cc. 391 // Called from stub-cache.cc.
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 Debug::AddressId id_; 862 Debug::AddressId id_;
861 int reg_; 863 int reg_;
862 }; 864 };
863 865
864 866
865 } } // namespace v8::internal 867 } } // namespace v8::internal
866 868
867 #endif // ENABLE_DEBUGGER_SUPPORT 869 #endif // ENABLE_DEBUGGER_SUPPORT
868 870
869 #endif // V8_DEBUG_H_ 871 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/arm/fast-codegen-arm.cc ('k') | test/mjsunit/regress/regress-491.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698