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

Unified Diff: src/hydrogen-instructions.h

Issue 40153003: AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips, ia32 and arm platforms were added Created 7 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 7df1aae544f6311163976d6d47807ed7b204b776..37f4896de679cf98744db2888ecc454332034bee 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -87,6 +87,7 @@ class LChunkBuilder;
V(CallNewArray) \
V(CallRuntime) \
V(CallStub) \
+ V(CallExternal) \
V(CapturedObject) \
V(Change) \
V(CheckHeapObject) \
@@ -5163,6 +5164,32 @@ class HCallStub V8_FINAL : public HUnaryCall {
};
+class HCallExternal V8_FINAL : public HCall<0> {
+ public:
+ DECLARE_INSTRUCTION_FACTORY_P2(HCallExternal, ExternalReference, int);
+
+ virtual Representation RequiredInputRepresentation(
+ int index) V8_FINAL V8_OVERRIDE {
+ return Representation::Tagged();
+ }
+
+ const ExternalReference& external_reference() const {
+ return external_reference_;
+ }
+ virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
+
+ DECLARE_CONCRETE_INSTRUCTION(CallExternal)
+
+ private:
+ HCallExternal(ExternalReference external_reference, int argc)
+ : HCall<0>(argc),
+ external_reference_(external_reference) {
+ }
+
+ const ExternalReference external_reference_;
+};
+
+
class HUnknownOSRValue V8_FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HUnknownOSRValue, HEnvironment*, int);
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698