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 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 ElementsKind to_elements_kind, | 1543 ElementsKind to_elements_kind, |
1544 HValue* length, | 1544 HValue* length, |
1545 HValue* capacity); | 1545 HValue* capacity); |
1546 | 1546 |
1547 HValue* BuildCloneShallowArray(HValue* boilerplate, | 1547 HValue* BuildCloneShallowArray(HValue* boilerplate, |
1548 HValue* allocation_site, | 1548 HValue* allocation_site, |
1549 AllocationSiteMode mode, | 1549 AllocationSiteMode mode, |
1550 ElementsKind kind, | 1550 ElementsKind kind, |
1551 int length); | 1551 int length); |
1552 | 1552 |
1553 HInstruction* BuildUnaryMathOp( | |
1554 HValue* value, Handle<Type> type, Token::Value token); | |
1555 | |
1556 void BuildCompareNil( | 1553 void BuildCompareNil( |
1557 HValue* value, | 1554 HValue* value, |
1558 Handle<Type> type, | 1555 Handle<Type> type, |
1559 int position, | 1556 int position, |
1560 HIfContinuation* continuation); | 1557 HIfContinuation* continuation); |
1561 | 1558 |
1562 HValue* BuildCreateAllocationMemento(HValue* previous_object, | 1559 HValue* BuildCreateAllocationMemento(HValue* previous_object, |
1563 int previous_object_size, | 1560 int previous_object_size, |
1564 HValue* payload); | 1561 HValue* payload); |
1565 | 1562 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1804 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 1801 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
1805 void Generate##Name(CallRuntime* call); | 1802 void Generate##Name(CallRuntime* call); |
1806 | 1803 |
1807 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 1804 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
1808 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 1805 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
1809 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 1806 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
1810 | 1807 |
1811 void VisitDelete(UnaryOperation* expr); | 1808 void VisitDelete(UnaryOperation* expr); |
1812 void VisitVoid(UnaryOperation* expr); | 1809 void VisitVoid(UnaryOperation* expr); |
1813 void VisitTypeof(UnaryOperation* expr); | 1810 void VisitTypeof(UnaryOperation* expr); |
1814 void VisitBitNot(UnaryOperation* expr); | |
1815 void VisitNot(UnaryOperation* expr); | 1811 void VisitNot(UnaryOperation* expr); |
1816 | 1812 |
1817 void VisitComma(BinaryOperation* expr); | 1813 void VisitComma(BinaryOperation* expr); |
1818 void VisitLogicalExpression(BinaryOperation* expr); | 1814 void VisitLogicalExpression(BinaryOperation* expr); |
1819 void VisitArithmeticExpression(BinaryOperation* expr); | 1815 void VisitArithmeticExpression(BinaryOperation* expr); |
1820 | 1816 |
1821 bool PreProcessOsrEntry(IterationStatement* statement); | 1817 bool PreProcessOsrEntry(IterationStatement* statement); |
1822 void VisitLoopBody(IterationStatement* stmt, | 1818 void VisitLoopBody(IterationStatement* stmt, |
1823 HBasicBlock* loop_entry, | 1819 HBasicBlock* loop_entry, |
1824 BreakAndContinueInfo* break_info); | 1820 BreakAndContinueInfo* break_info); |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2329 EmbeddedVector<char, 64> filename_; | 2325 EmbeddedVector<char, 64> filename_; |
2330 HeapStringAllocator string_allocator_; | 2326 HeapStringAllocator string_allocator_; |
2331 StringStream trace_; | 2327 StringStream trace_; |
2332 int indent_; | 2328 int indent_; |
2333 }; | 2329 }; |
2334 | 2330 |
2335 | 2331 |
2336 } } // namespace v8::internal | 2332 } } // namespace v8::internal |
2337 | 2333 |
2338 #endif // V8_HYDROGEN_H_ | 2334 #endif // V8_HYDROGEN_H_ |
OLD | NEW |