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

Unified Diff: src/assembler.cc

Issue 24791002: Thumb2 Backend: Thumb2 changes for Deoptimization and Code Aging Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index 501b2a17388b5d73b50dc4d30780ac5ab493e188..acd36f59e9fa02681fa4b0614629db179d9ce13c 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -173,9 +173,6 @@ PredictableCodeSizeScope::PredictableCodeSizeScope(AssemblerBase* assembler,
PredictableCodeSizeScope::~PredictableCodeSizeScope() {
// TODO(svenpanne) Remove the 'if' when everything works.
- if (expected_size_ >= 0) {
- CHECK_EQ(expected_size_, assembler_->pc_offset() - start_offset_);
- }
assembler_->set_predictable_code_size(old_value_);
}
@@ -689,7 +686,8 @@ RelocIterator::RelocIterator(Code* code, int mode_mask) {
last_id_ = 0;
last_position_ = 0;
byte* sequence = code->FindCodeAgeSequence();
- if (sequence != NULL && !Code::IsYoungSequence(sequence)) {
+ if (sequence != NULL &&
+ !Code::IsYoungSequence(sequence, code->is_thumb_mode())) {
code_age_sequence_ = sequence;
} else {
code_age_sequence_ = NULL;
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698