| OLD | NEW |
| 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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); | 1126 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
| 1127 | 1127 |
| 1128 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HValue* context); | 1128 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HValue* context); |
| 1129 | 1129 |
| 1130 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1130 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
| 1131 | 1131 |
| 1132 void PushAndAdd(HInstruction* instr); | 1132 void PushAndAdd(HInstruction* instr); |
| 1133 | 1133 |
| 1134 void FinishExitWithHardDeoptimization(HBasicBlock* continuation); | 1134 void FinishExitWithHardDeoptimization(HBasicBlock* continuation); |
| 1135 | 1135 |
| 1136 void AddIncrementCounter(StatsCounter* counter, |
| 1137 HValue* context); |
| 1138 |
| 1136 class IfBuilder { | 1139 class IfBuilder { |
| 1137 public: | 1140 public: |
| 1138 explicit IfBuilder(HGraphBuilder* builder, | 1141 explicit IfBuilder(HGraphBuilder* builder, |
| 1139 int position = RelocInfo::kNoPosition); | 1142 int position = RelocInfo::kNoPosition); |
| 1140 IfBuilder(HGraphBuilder* builder, | 1143 IfBuilder(HGraphBuilder* builder, |
| 1141 HIfContinuation* continuation); | 1144 HIfContinuation* continuation); |
| 1142 | 1145 |
| 1143 ~IfBuilder() { | 1146 ~IfBuilder() { |
| 1144 if (!finished_) End(); | 1147 if (!finished_) End(); |
| 1145 } | 1148 } |
| (...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2159 EmbeddedVector<char, 64> filename_; | 2162 EmbeddedVector<char, 64> filename_; |
| 2160 HeapStringAllocator string_allocator_; | 2163 HeapStringAllocator string_allocator_; |
| 2161 StringStream trace_; | 2164 StringStream trace_; |
| 2162 int indent_; | 2165 int indent_; |
| 2163 }; | 2166 }; |
| 2164 | 2167 |
| 2165 | 2168 |
| 2166 } } // namespace v8::internal | 2169 } } // namespace v8::internal |
| 2167 | 2170 |
| 2168 #endif // V8_HYDROGEN_H_ | 2171 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |