| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 60a4420024d3ad4019de686e7e880ecd2a6fd28e..9b1ad6f7ebfbf84b4a594e2987855868885573d4 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -871,6 +871,11 @@ class HGraphBuilder: public AstVisitor {
|
|
|
| void VisitDeclarations(ZoneList<Declaration*>* declarations);
|
|
|
| + void* operator new(size_t size, Zone* zone) {
|
| + return zone->New(size);
|
| + }
|
| + void operator delete(void* ptr) { }
|
| +
|
| private:
|
| // Type of a member function that generates inline code for a native function.
|
| typedef void (HGraphBuilder::*InlineFunctionGenerator)(CallRuntime* call);
|
|
|