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

Side by Side Diff: src/hydrogen.h

Issue 19492007: Generate KeyedLoadDictionaryElementStub with Hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add V8_OVERRIDE Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 // if_finally.Then(); 1443 // if_finally.Then();
1444 // // continues after then code of if_whatever or if_something. 1444 // // continues after then code of if_whatever or if_something.
1445 // ... 1445 // ...
1446 // if_finally.Else(); 1446 // if_finally.Else();
1447 // // continues after else code of if_whatever or if_something. 1447 // // continues after else code of if_whatever or if_something.
1448 // ... 1448 // ...
1449 // if_finally.End(); 1449 // if_finally.End();
1450 void JoinContinuation(HIfContinuation* continuation); 1450 void JoinContinuation(HIfContinuation* continuation);
1451 1451
1452 void Then(); 1452 void Then();
1453 void ThenDeopt(const char* reason) {
1454 Then();
1455 Deopt(reason);
1456 }
1453 void Else(); 1457 void Else();
1454 void End(); 1458 void End();
1455 1459
1456 void Deopt(const char* reason); 1460 void Deopt(const char* reason);
1457 void ElseDeopt(const char* reason) { 1461 void ElseDeopt(const char* reason) {
1458 Else(); 1462 Else();
1459 Deopt(reason); 1463 Deopt(reason);
1460 } 1464 }
1461 1465
1462 void Return(HValue* value); 1466 void Return(HValue* value);
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1617 ElementsKind to_elements_kind, 1621 ElementsKind to_elements_kind,
1618 HValue* length, 1622 HValue* length,
1619 HValue* capacity); 1623 HValue* capacity);
1620 1624
1621 HValue* BuildCloneShallowArray(HValue* boilerplate, 1625 HValue* BuildCloneShallowArray(HValue* boilerplate,
1622 HValue* allocation_site, 1626 HValue* allocation_site,
1623 AllocationSiteMode mode, 1627 AllocationSiteMode mode,
1624 ElementsKind kind, 1628 ElementsKind kind,
1625 int length); 1629 int length);
1626 1630
1631 HValue* BuildElementIndexHash(HValue* index);
1632
1627 void BuildCompareNil( 1633 void BuildCompareNil(
1628 HValue* value, 1634 HValue* value,
1629 Handle<Type> type, 1635 Handle<Type> type,
1630 HIfContinuation* continuation); 1636 HIfContinuation* continuation);
1631 1637
1632 HValue* BuildCreateAllocationMemento(HValue* previous_object, 1638 HValue* BuildCreateAllocationMemento(HValue* previous_object,
1633 int previous_object_size, 1639 int previous_object_size,
1634 HValue* payload); 1640 HValue* payload);
1635 1641
1636 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant, 1642 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant,
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2483 } 2489 }
2484 2490
2485 private: 2491 private:
2486 HGraphBuilder* builder_; 2492 HGraphBuilder* builder_;
2487 }; 2493 };
2488 2494
2489 2495
2490 } } // namespace v8::internal 2496 } } // namespace v8::internal
2491 2497
2492 #endif // V8_HYDROGEN_H_ 2498 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698