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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 HObjectAccess access, | 1108 HObjectAccess access, |
1109 HValue *val, | 1109 HValue *val, |
1110 Representation representation = Representation::Tagged()); | 1110 Representation representation = Representation::Tagged()); |
1111 | 1111 |
1112 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); | 1112 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); |
1113 | 1113 |
1114 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); | 1114 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); |
1115 | 1115 |
1116 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); | 1116 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
1117 | 1117 |
1118 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HContext* context); | 1118 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HValue* context); |
1119 | 1119 |
1120 enum SoftDeoptimizeMode { | 1120 enum SoftDeoptimizeMode { |
1121 MUST_EMIT_SOFT_DEOPT, | 1121 MUST_EMIT_SOFT_DEOPT, |
1122 CAN_OMIT_SOFT_DEOPT | 1122 CAN_OMIT_SOFT_DEOPT |
1123 }; | 1123 }; |
1124 | 1124 |
1125 void AddSoftDeoptimize(SoftDeoptimizeMode mode = CAN_OMIT_SOFT_DEOPT); | 1125 void AddSoftDeoptimize(SoftDeoptimizeMode mode = CAN_OMIT_SOFT_DEOPT); |
1126 | 1126 |
1127 class IfBuilder { | 1127 class IfBuilder { |
1128 public: | 1128 public: |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2092 EmbeddedVector<char, 64> filename_; | 2092 EmbeddedVector<char, 64> filename_; |
2093 HeapStringAllocator string_allocator_; | 2093 HeapStringAllocator string_allocator_; |
2094 StringStream trace_; | 2094 StringStream trace_; |
2095 int indent_; | 2095 int indent_; |
2096 }; | 2096 }; |
2097 | 2097 |
2098 | 2098 |
2099 } } // namespace v8::internal | 2099 } } // namespace v8::internal |
2100 | 2100 |
2101 #endif // V8_HYDROGEN_H_ | 2101 #endif // V8_HYDROGEN_H_ |
OLD | NEW |