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

Side by Side Diff: src/hydrogen.cc

Issue 1130073005: Revert of Migrate error messages, part 10. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « src/factory.cc ('k') | src/ic/ic.h » ('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 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/hydrogen.h" 5 #include "src/hydrogen.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 5914 matching lines...) Expand 10 before | Expand all | Expand 10 after
5925 PropertyAccessInfo* info, 5925 PropertyAccessInfo* info,
5926 HValue* checked_object) { 5926 HValue* checked_object) {
5927 // See if this is a load for an immutable property 5927 // See if this is a load for an immutable property
5928 if (checked_object->ActualValue()->IsConstant()) { 5928 if (checked_object->ActualValue()->IsConstant()) {
5929 Handle<Object> object( 5929 Handle<Object> object(
5930 HConstant::cast(checked_object->ActualValue())->handle(isolate())); 5930 HConstant::cast(checked_object->ActualValue())->handle(isolate()));
5931 5931
5932 if (object->IsJSObject()) { 5932 if (object->IsJSObject()) {
5933 LookupIterator it(object, info->name(), 5933 LookupIterator it(object, info->name(),
5934 LookupIterator::OWN_SKIP_INTERCEPTOR); 5934 LookupIterator::OWN_SKIP_INTERCEPTOR);
5935 Handle<Object> value = JSReceiver::GetDataProperty(&it); 5935 Handle<Object> value = JSObject::GetDataProperty(&it);
5936 if (it.IsFound() && it.IsReadOnly() && !it.IsConfigurable()) { 5936 if (it.IsFound() && it.IsReadOnly() && !it.IsConfigurable()) {
5937 return New<HConstant>(value); 5937 return New<HConstant>(value);
5938 } 5938 }
5939 } 5939 }
5940 } 5940 }
5941 5941
5942 HObjectAccess access = info->access(); 5942 HObjectAccess access = info->access();
5943 if (access.representation().IsDouble() && 5943 if (access.representation().IsDouble() &&
5944 (!FLAG_unbox_double_fields || !access.IsInobject())) { 5944 (!FLAG_unbox_double_fields || !access.IsInobject())) {
5945 // Load the heap number. 5945 // Load the heap number.
(...skipping 7204 matching lines...) Expand 10 before | Expand all | Expand 10 after
13150 if (ShouldProduceTraceOutput()) { 13150 if (ShouldProduceTraceOutput()) {
13151 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13151 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13152 } 13152 }
13153 13153
13154 #ifdef DEBUG 13154 #ifdef DEBUG
13155 graph_->Verify(false); // No full verify. 13155 graph_->Verify(false); // No full verify.
13156 #endif 13156 #endif
13157 } 13157 }
13158 13158
13159 } } // namespace v8::internal 13159 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698