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

Side by Side Diff: src/arm64/stub-cache-arm64.cc

Issue 431483003: Fix (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « no previous file | src/stub-cache.cc » ('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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic-inl.h" 10 #include "src/ic-inl.h"
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 824
825 Register reg = FrontendHeader(object_reg, name, &miss); 825 Register reg = FrontendHeader(object_reg, name, &miss);
826 // FrontendHeader can return its result into scratch1() so do not 826 // FrontendHeader can return its result into scratch1() so do not
827 // use it. 827 // use it.
828 Register scratch2 = this->scratch2(); 828 Register scratch2 = this->scratch2();
829 Register scratch3 = this->scratch3(); 829 Register scratch3 = this->scratch3();
830 Register dictionary = this->scratch4(); 830 Register dictionary = this->scratch4();
831 ASSERT(!AreAliased(reg, scratch2, scratch3, dictionary)); 831 ASSERT(!AreAliased(reg, scratch2, scratch3, dictionary));
832 832
833 if (!holder()->HasFastProperties()) { 833 if (!holder()->HasFastProperties()) {
834 ASSERT(holder()->IsGlobalObject()); 834 ASSERT(!holder()->IsGlobalObject());
835 // Load the properties dictionary. 835 // Load the properties dictionary.
836 __ Ldr(dictionary, FieldMemOperand(reg, JSObject::kPropertiesOffset)); 836 __ Ldr(dictionary, FieldMemOperand(reg, JSObject::kPropertiesOffset));
837 837
838 // Probe the dictionary. 838 // Probe the dictionary.
839 Label probe_done; 839 Label probe_done;
840 NameDictionaryLookupStub::GeneratePositiveLookup(masm(), 840 NameDictionaryLookupStub::GeneratePositiveLookup(masm(),
841 &miss, 841 &miss,
842 &probe_done, 842 &probe_done,
843 dictionary, 843 dictionary,
844 this->name(), 844 this->name(),
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 1346
1347 // Miss case, call the runtime. 1347 // Miss case, call the runtime.
1348 __ Bind(&miss); 1348 __ Bind(&miss);
1349 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1349 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1350 } 1350 }
1351 1351
1352 1352
1353 } } // namespace v8::internal 1353 } } // namespace v8::internal
1354 1354
1355 #endif // V8_TARGET_ARCH_ARM64 1355 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « no previous file | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698