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

Side by Side Diff: test/cctest/test-api.cc

Issue 1407533004: [turbofan] Fix various issues with --turbo-inlining enabled. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment. Created 5 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 unified diff | Download patch
« no previous file with comments | « src/compiler/node-properties.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 12231 matching lines...) Expand 10 before | Expand all | Expand 10 after
12242 isolate->Dispose(); 12242 isolate->Dispose();
12243 } 12243 }
12244 12244
12245 12245
12246 TEST(SetFunctionEntryHook) { 12246 TEST(SetFunctionEntryHook) {
12247 // FunctionEntryHook does not work well with experimental natives. 12247 // FunctionEntryHook does not work well with experimental natives.
12248 // Experimental natives are compiled during snapshot deserialization. 12248 // Experimental natives are compiled during snapshot deserialization.
12249 // This test breaks because InstallGetter (function from snapshot that 12249 // This test breaks because InstallGetter (function from snapshot that
12250 // only gets called from experimental natives) is compiled with entry hooks. 12250 // only gets called from experimental natives) is compiled with entry hooks.
12251 i::FLAG_allow_natives_syntax = true; 12251 i::FLAG_allow_natives_syntax = true;
12252 i::FLAG_turbo_inlining = false;
12252 i::FLAG_use_inlining = false; 12253 i::FLAG_use_inlining = false;
12253 12254
12254 SetFunctionEntryHookTest test; 12255 SetFunctionEntryHookTest test;
12255 test.RunTest(); 12256 test.RunTest();
12256 } 12257 }
12257 12258
12258 12259
12259 static i::HashMap* code_map = NULL; 12260 static i::HashMap* code_map = NULL;
12260 static i::HashMap* jitcode_line_info = NULL; 12261 static i::HashMap* jitcode_line_info = NULL;
12261 static int saw_bar = 0; 12262 static int saw_bar = 0;
(...skipping 9677 matching lines...) Expand 10 before | Expand all | Expand 10 after
21939 LocalContext env; 21940 LocalContext env;
21940 21941
21941 env->Global()->Set(v8_str("keys"), v8::Array::GetKeysIterator(isolate)); 21942 env->Global()->Set(v8_str("keys"), v8::Array::GetKeysIterator(isolate));
21942 env->Global()->Set(v8_str("values"), v8::Array::GetValuesIterator(isolate)); 21943 env->Global()->Set(v8_str("values"), v8::Array::GetValuesIterator(isolate));
21943 env->Global()->Set(v8_str("entries"), v8::Array::GetEntriesIterator(isolate)); 21944 env->Global()->Set(v8_str("entries"), v8::Array::GetEntriesIterator(isolate));
21944 21945
21945 ExpectString("typeof keys", "function"); 21946 ExpectString("typeof keys", "function");
21946 ExpectString("typeof values", "function"); 21947 ExpectString("typeof values", "function");
21947 ExpectString("typeof entries", "function"); 21948 ExpectString("typeof entries", "function");
21948 } 21949 }
OLDNEW
« no previous file with comments | « src/compiler/node-properties.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698