Index: test/mjsunit/runtime-gen/debugpromiserejectevent.js |
diff --git a/test/mjsunit/runtime-gen/functionsetprototype.js b/test/mjsunit/runtime-gen/debugpromiserejectevent.js |
similarity index 73% |
copy from test/mjsunit/runtime-gen/functionsetprototype.js |
copy to test/mjsunit/runtime-gen/debugpromiserejectevent.js |
index 5cfe78af0b46ff98bd22d613cdffba99c70c30fd..731d8ca14b844ebc8105be817e6780d5a23372dc 100644 |
--- a/test/mjsunit/runtime-gen/functionsetprototype.js |
+++ b/test/mjsunit/runtime-gen/debugpromiserejectevent.js |
@@ -1,6 +1,6 @@ |
// Copyright 2014 the V8 project authors. All rights reserved. |
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
// Flags: --allow-natives-syntax --harmony |
-var _fun = function() {}; |
+var _promise = new Object(); |
var _value = new Object(); |
-%FunctionSetPrototype(_fun, _value); |
+%DebugPromiseRejectEvent(_promise, _value); |