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

Side by Side Diff: src/hydrogen.cc

Issue 14265024: Fix test/build failures (win64 compile warning, isolate test parallel compilation failure, gcmole i… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/heap.cc ('k') | 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 } 1853 }
1854 } 1854 }
1855 1855
1856 1856
1857 HValue* HGraphBuilder::JSArrayBuilder::EmitMapCode(HValue* context) { 1857 HValue* HGraphBuilder::JSArrayBuilder::EmitMapCode(HValue* context) {
1858 // Get the global context, the native context, the map array 1858 // Get the global context, the native context, the map array
1859 HInstruction* global_object = AddInstruction(new(zone()) 1859 HInstruction* global_object = AddInstruction(new(zone())
1860 HGlobalObject(context)); 1860 HGlobalObject(context));
1861 HInstruction* native_context = AddInstruction(new(zone()) 1861 HInstruction* native_context = AddInstruction(new(zone())
1862 HLoadNamedField(global_object, true, GlobalObject::kNativeContextOffset)); 1862 HLoadNamedField(global_object, true, GlobalObject::kNativeContextOffset));
1863 size_t offset = Context::kHeaderSize + 1863 int offset = Context::kHeaderSize +
1864 kPointerSize * Context::JS_ARRAY_MAPS_INDEX; 1864 kPointerSize * Context::JS_ARRAY_MAPS_INDEX;
1865 HInstruction* map_array = AddInstruction(new(zone()) 1865 HInstruction* map_array = AddInstruction(new(zone())
1866 HLoadNamedField(native_context, true, offset)); 1866 HLoadNamedField(native_context, true, offset));
1867 offset = kind_ * kPointerSize + FixedArrayBase::kHeaderSize; 1867 offset = kind_ * kPointerSize + FixedArrayBase::kHeaderSize;
1868 return AddInstruction(new(zone()) HLoadNamedField(map_array, true, offset)); 1868 return AddInstruction(new(zone()) HLoadNamedField(map_array, true, offset));
1869 } 1869 }
1870 1870
1871 1871
1872 HValue* HGraphBuilder::JSArrayBuilder::EstablishAllocationSize( 1872 HValue* HGraphBuilder::JSArrayBuilder::EstablishAllocationSize(
1873 HValue* length_node) { 1873 HValue* length_node) {
(...skipping 10269 matching lines...) Expand 10 before | Expand all | Expand 10 after
12143 } 12143 }
12144 } 12144 }
12145 12145
12146 #ifdef DEBUG 12146 #ifdef DEBUG
12147 if (graph_ != NULL) graph_->Verify(false); // No full verify. 12147 if (graph_ != NULL) graph_->Verify(false); // No full verify.
12148 if (allocator_ != NULL) allocator_->Verify(); 12148 if (allocator_ != NULL) allocator_->Verify();
12149 #endif 12149 #endif
12150 } 12150 }
12151 12151
12152 } } // namespace v8::internal 12152 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698