OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |