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

Side by Side Diff: src/assembler.cc

Issue 2811333002: [builtins] HasOwnProperty: handle non-internalized string keys (Closed)
Patch Set: rebased (noop) Created 3 years, 8 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/assembler.h ('k') | src/builtins/builtins-object-gen.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 1555
1556 void* libc_memset(void* dest, int byte, size_t n) { 1556 void* libc_memset(void* dest, int byte, size_t n) {
1557 DCHECK_EQ(static_cast<char>(byte), byte); 1557 DCHECK_EQ(static_cast<char>(byte), byte);
1558 return memset(dest, byte, n); 1558 return memset(dest, byte, n);
1559 } 1559 }
1560 1560
1561 ExternalReference ExternalReference::libc_memset_function(Isolate* isolate) { 1561 ExternalReference ExternalReference::libc_memset_function(Isolate* isolate) {
1562 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(libc_memset))); 1562 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(libc_memset)));
1563 } 1563 }
1564 1564
1565 ExternalReference ExternalReference::try_internalize_string_function(
1566 Isolate* isolate) {
1567 return ExternalReference(Redirect(
1568 isolate, FUNCTION_ADDR(StringTable::LookupStringIfExists_NoAllocate)));
1569 }
1570
1565 ExternalReference ExternalReference::page_flags(Page* page) { 1571 ExternalReference ExternalReference::page_flags(Page* page) {
1566 return ExternalReference(reinterpret_cast<Address>(page) + 1572 return ExternalReference(reinterpret_cast<Address>(page) +
1567 MemoryChunk::kFlagsOffset); 1573 MemoryChunk::kFlagsOffset);
1568 } 1574 }
1569 1575
1570 1576
1571 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { 1577 ExternalReference ExternalReference::ForDeoptEntry(Address entry) {
1572 return ExternalReference(entry); 1578 return ExternalReference(entry);
1573 } 1579 }
1574 1580
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 1948
1943 1949
1944 void Assembler::DataAlign(int m) { 1950 void Assembler::DataAlign(int m) {
1945 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1951 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1946 while ((pc_offset() & (m - 1)) != 0) { 1952 while ((pc_offset() & (m - 1)) != 0) {
1947 db(0); 1953 db(0);
1948 } 1954 }
1949 } 1955 }
1950 } // namespace internal 1956 } // namespace internal
1951 } // namespace v8 1957 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins/builtins-object-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698