Index: src/codegen-arm.cc |
=================================================================== |
--- src/codegen-arm.cc (revision 1089) |
+++ src/codegen-arm.cc (working copy) |
@@ -2235,6 +2235,17 @@ |
} |
+void CodeGenerator::VisitCatchExtensionObject(CatchExtensionObject* node) { |
+ // Call runtime routine to allocate the catch extension object and |
+ // assign the exception value to the catch variable. |
+ Comment cmnt(masm_, "[CatchExtensionObject "); |
+ Load(node->key()); |
+ Load(node->value()); |
+ __ CallRuntime(Runtime::kCreateCatchExtensionObject, 2); |
+ frame_->Push(r0); |
+} |
+ |
+ |
void CodeGenerator::VisitAssignment(Assignment* node) { |
Comment cmnt(masm_, "[ Assignment"); |
CodeForStatement(node); |