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

Side by Side Diff: src/objects.cc

Issue 2092413002: [RegisterConfiguration] Streamline access to arch defaults, simplify Registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile. Created 4 years, 5 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/mips64/macro-assembler-mips64.cc ('k') | src/ppc/assembler-ppc.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/objects.h" 5 #include "src/objects.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <iomanip> 8 #include <iomanip>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 14087 matching lines...) Expand 10 before | Expand all | Expand 10 after
14098 14098
14099 case Translation::BOOL_REGISTER: { 14099 case Translation::BOOL_REGISTER: {
14100 int reg_code = iterator.Next(); 14100 int reg_code = iterator.Next();
14101 os << "{input=" << converter.NameOfCPURegister(reg_code) 14101 os << "{input=" << converter.NameOfCPURegister(reg_code)
14102 << " (bool)}"; 14102 << " (bool)}";
14103 break; 14103 break;
14104 } 14104 }
14105 14105
14106 case Translation::FLOAT_REGISTER: { 14106 case Translation::FLOAT_REGISTER: {
14107 int reg_code = iterator.Next(); 14107 int reg_code = iterator.Next();
14108 os << "{input=" << FloatRegister::from_code(reg_code).ToString() 14108 os << "{input="
14109 << RegisterConfiguration::Crankshaft()->GetFloatRegisterName(
14110 reg_code)
14109 << "}"; 14111 << "}";
14110 break; 14112 break;
14111 } 14113 }
14112 14114
14113 case Translation::DOUBLE_REGISTER: { 14115 case Translation::DOUBLE_REGISTER: {
14114 int reg_code = iterator.Next(); 14116 int reg_code = iterator.Next();
14115 os << "{input=" << DoubleRegister::from_code(reg_code).ToString() 14117 os << "{input="
14118 << RegisterConfiguration::Crankshaft()->GetDoubleRegisterName(
14119 reg_code)
14116 << "}"; 14120 << "}";
14117 break; 14121 break;
14118 } 14122 }
14119 14123
14120 case Translation::STACK_SLOT: { 14124 case Translation::STACK_SLOT: {
14121 int input_slot_index = iterator.Next(); 14125 int input_slot_index = iterator.Next();
14122 os << "{input=" << input_slot_index << "}"; 14126 os << "{input=" << input_slot_index << "}";
14123 break; 14127 break;
14124 } 14128 }
14125 14129
(...skipping 4796 matching lines...) Expand 10 before | Expand all | Expand 10 after
18922 18926
18923 Object* data_obj = 18927 Object* data_obj =
18924 constructor->shared()->get_api_func_data()->access_check_info(); 18928 constructor->shared()->get_api_func_data()->access_check_info();
18925 if (data_obj->IsUndefined(isolate)) return nullptr; 18929 if (data_obj->IsUndefined(isolate)) return nullptr;
18926 18930
18927 return AccessCheckInfo::cast(data_obj); 18931 return AccessCheckInfo::cast(data_obj);
18928 } 18932 }
18929 18933
18930 } // namespace internal 18934 } // namespace internal
18931 } // namespace v8 18935 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/ppc/assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698