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

Side by Side Diff: src/builtins.cc

Issue 11737032: Use enum instead of bool for force_generic (MISS / MISS_FORCE_GENERIC) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/arm/ic-arm.cc ('k') | src/ia32/ic-ia32.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 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 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 KeyedLoadIC::GenerateInitialize(masm); 1529 KeyedLoadIC::GenerateInitialize(masm);
1530 } 1530 }
1531 1531
1532 1532
1533 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { 1533 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) {
1534 KeyedLoadIC::GenerateRuntimeGetProperty(masm); 1534 KeyedLoadIC::GenerateRuntimeGetProperty(masm);
1535 } 1535 }
1536 1536
1537 1537
1538 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { 1538 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) {
1539 KeyedLoadIC::GenerateMiss(masm, false); 1539 KeyedLoadIC::GenerateMiss(masm, MISS);
1540 } 1540 }
1541 1541
1542 1542
1543 static void Generate_KeyedLoadIC_MissForceGeneric(MacroAssembler* masm) { 1543 static void Generate_KeyedLoadIC_MissForceGeneric(MacroAssembler* masm) {
1544 KeyedLoadIC::GenerateMiss(masm, true); 1544 KeyedLoadIC::GenerateMiss(masm, MISS_FORCE_GENERIC);
1545 } 1545 }
1546 1546
1547 1547
1548 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) { 1548 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) {
1549 KeyedLoadIC::GenerateGeneric(masm); 1549 KeyedLoadIC::GenerateGeneric(masm);
1550 } 1550 }
1551 1551
1552 1552
1553 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) { 1553 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) {
1554 KeyedLoadIC::GenerateString(masm); 1554 KeyedLoadIC::GenerateString(masm);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1631 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); 1631 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode);
1632 } 1632 }
1633 1633
1634 1634
1635 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { 1635 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) {
1636 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); 1636 KeyedStoreIC::GenerateGeneric(masm, kStrictMode);
1637 } 1637 }
1638 1638
1639 1639
1640 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 1640 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
1641 KeyedStoreIC::GenerateMiss(masm, false); 1641 KeyedStoreIC::GenerateMiss(masm, MISS);
1642 } 1642 }
1643 1643
1644 1644
1645 static void Generate_KeyedStoreIC_MissForceGeneric(MacroAssembler* masm) { 1645 static void Generate_KeyedStoreIC_MissForceGeneric(MacroAssembler* masm) {
1646 KeyedStoreIC::GenerateMiss(masm, true); 1646 KeyedStoreIC::GenerateMiss(masm, MISS_FORCE_GENERIC);
1647 } 1647 }
1648 1648
1649 1649
1650 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { 1650 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) {
1651 KeyedStoreIC::GenerateSlow(masm); 1651 KeyedStoreIC::GenerateSlow(masm);
1652 } 1652 }
1653 1653
1654 1654
1655 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 1655 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
1656 KeyedStoreIC::GenerateInitialize(masm); 1656 KeyedStoreIC::GenerateInitialize(masm);
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 return Handle<Code>(code_address); \ 1942 return Handle<Code>(code_address); \
1943 } 1943 }
1944 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1944 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1945 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1945 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1946 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1946 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1947 #undef DEFINE_BUILTIN_ACCESSOR_C 1947 #undef DEFINE_BUILTIN_ACCESSOR_C
1948 #undef DEFINE_BUILTIN_ACCESSOR_A 1948 #undef DEFINE_BUILTIN_ACCESSOR_A
1949 1949
1950 1950
1951 } } // namespace v8::internal 1951 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698