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

Side by Side Diff: src/deoptimizer.cc

Issue 1151523014: Fix another -Wsign-compare issue for GCC 4.9.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/cpu-profiler.h" 9 #include "src/cpu-profiler.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 2584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 if (is_smi) { 2595 if (is_smi) {
2596 return Smi::FromInt(static_cast<int32_t>(int_value)); 2596 return Smi::FromInt(static_cast<int32_t>(int_value));
2597 } 2597 }
2598 break; 2598 break;
2599 } 2599 }
2600 2600
2601 case kBoolBit: { 2601 case kBoolBit: {
2602 if (uint32_value() == 0) { 2602 if (uint32_value() == 0) {
2603 return isolate()->heap()->false_value(); 2603 return isolate()->heap()->false_value();
2604 } else { 2604 } else {
2605 CHECK_EQ(1, uint32_value()); 2605 CHECK_EQ(1U, uint32_value());
2606 return isolate()->heap()->true_value(); 2606 return isolate()->heap()->true_value();
2607 } 2607 }
2608 } 2608 }
2609 2609
2610 default: 2610 default:
2611 break; 2611 break;
2612 } 2612 }
2613 2613
2614 // If we could not get the value without allocation, return the arguments 2614 // If we could not get the value without allocation, return the arguments
2615 // marker. 2615 // marker.
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
3505 DCHECK(value_info->IsMaterializedObject()); 3505 DCHECK(value_info->IsMaterializedObject());
3506 3506
3507 value_info->value_ = 3507 value_info->value_ =
3508 Handle<Object>(previously_materialized_objects->get(i), isolate_); 3508 Handle<Object>(previously_materialized_objects->get(i), isolate_);
3509 } 3509 }
3510 } 3510 }
3511 } 3511 }
3512 3512
3513 } // namespace internal 3513 } // namespace internal
3514 } // namespace v8 3514 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698