Fix wrong assertion in assembler causing the shell to crash with --code-comments.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Feb 2011 10:29:01 +0000 (10:29 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Feb 2011 10:29:01 +0000 (10:29 +0000)
commitcfd6268256dbe469a64800c71bb233402ca53188
tree3e5fe1ce12798845ac4f6c61b43f56ba811b81fe
parent5572d24fc55eafb20c64ae6bf3d1beb41f3a74b9
Fix wrong assertion in assembler causing the shell to crash with --code-comments.

Since writting a code comment can include a pc-jump the assertion
should just check that we are greater than or equal to
kMinRelocCommentSize (renamed from kRelocCommentSize), not that we are
actually equal to.

Review URL: http://codereview.chromium.org/6580028

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6928 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/assembler.cc
src/assembler.h
src/ia32/lithium-codegen-ia32.cc