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

Unified Diff: test/cctest/wasm/test-wasm-breakpoints.cc

Issue 2156303002: Implement new Function.prototype.toString and fix CreateDynamicFunction parsing (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 3 years, 10 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/string-builder.h ('k') | test/mjsunit/harmony/function-tostring.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/test-wasm-breakpoints.cc
diff --git a/test/cctest/wasm/test-wasm-breakpoints.cc b/test/cctest/wasm/test-wasm-breakpoints.cc
index b38d1bce67721c89f93e43eb9d7bc83dacd33ad8..d23f2551ca2aea9088863f266b9705b4a82087a5 100644
--- a/test/cctest/wasm/test-wasm-breakpoints.cc
+++ b/test/cctest/wasm/test-wasm-breakpoints.cc
@@ -138,7 +138,8 @@ Handle<JSObject> MakeFakeBreakpoint(Isolate* isolate, int position) {
Handle<String> source = isolate->factory()->NewStringFromStaticChars("true");
Handle<Context> context(isolate->context(), isolate);
Handle<JSFunction> triggered_fun =
- Compiler::GetFunctionFromString(context, source, NO_PARSE_RESTRICTION)
+ Compiler::GetFunctionFromString(context, source, NO_PARSE_RESTRICTION,
+ kNoSourcePosition)
.ToHandleChecked();
PropertyDescriptor desc;
desc.set_value(triggered_fun);
« no previous file with comments | « src/string-builder.h ('k') | test/mjsunit/harmony/function-tostring.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698