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

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

Issue 1295433002: [runtime] Remove useless IN builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE again. Remove unused ReplaceWithBuiltinCall. Created 5 years, 3 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
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 19285 matching lines...) Expand 10 before | Expand all | Expand 10 after
19296 CheckCorrectThrow("JSON.stringify(other)"); 19296 CheckCorrectThrow("JSON.stringify(other)");
19297 CheckCorrectThrow("has_own_property(other, 'x')"); 19297 CheckCorrectThrow("has_own_property(other, 'x')");
19298 CheckCorrectThrow("%GetProperty(other, 'x')"); 19298 CheckCorrectThrow("%GetProperty(other, 'x')");
19299 CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 0)"); 19299 CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 0)");
19300 CheckCorrectThrow("%AddNamedProperty(other, 'x', 'foo', 1)"); 19300 CheckCorrectThrow("%AddNamedProperty(other, 'x', 'foo', 1)");
19301 CheckCorrectThrow("%DeleteProperty_Sloppy(other, 'x')"); 19301 CheckCorrectThrow("%DeleteProperty_Sloppy(other, 'x')");
19302 CheckCorrectThrow("%DeleteProperty_Strict(other, 'x')"); 19302 CheckCorrectThrow("%DeleteProperty_Strict(other, 'x')");
19303 CheckCorrectThrow("%DeleteProperty_Sloppy(other, '1')"); 19303 CheckCorrectThrow("%DeleteProperty_Sloppy(other, '1')");
19304 CheckCorrectThrow("%DeleteProperty_Strict(other, '1')"); 19304 CheckCorrectThrow("%DeleteProperty_Strict(other, '1')");
19305 CheckCorrectThrow("%HasOwnProperty(other, 'x')"); 19305 CheckCorrectThrow("%HasOwnProperty(other, 'x')");
19306 CheckCorrectThrow("%HasProperty(other, 'x')"); 19306 CheckCorrectThrow("%HasProperty('x', other)");
19307 CheckCorrectThrow("%HasElement(other, 1)");
19308 CheckCorrectThrow("%IsPropertyEnumerable(other, 'x')"); 19307 CheckCorrectThrow("%IsPropertyEnumerable(other, 'x')");
19309 // PROPERTY_ATTRIBUTES_NONE = 0 19308 // PROPERTY_ATTRIBUTES_NONE = 0
19310 CheckCorrectThrow("%DefineAccessorPropertyUnchecked(" 19309 CheckCorrectThrow("%DefineAccessorPropertyUnchecked("
19311 "other, 'x', null, null, 1)"); 19310 "other, 'x', null, null, 1)");
19312 19311
19313 // Reset the failed access check callback so it does not influence 19312 // Reset the failed access check callback so it does not influence
19314 // the other tests. 19313 // the other tests.
19315 v8::V8::SetFailedAccessCheckCallbackFunction(NULL); 19314 v8::V8::SetFailedAccessCheckCallbackFunction(NULL);
19316 } 19315 }
19317 19316
(...skipping 2534 matching lines...) Expand 10 before | Expand all | Expand 10 after
21852 timeout_thread.Join(); 21851 timeout_thread.Join();
21853 } 21852 }
21854 21853
21855 21854
21856 TEST(EstimatedContextSize) { 21855 TEST(EstimatedContextSize) {
21857 v8::Isolate* isolate = CcTest::isolate(); 21856 v8::Isolate* isolate = CcTest::isolate();
21858 v8::HandleScope scope(isolate); 21857 v8::HandleScope scope(isolate);
21859 LocalContext env; 21858 LocalContext env;
21860 CHECK(50000 < env->EstimatedSize()); 21859 CHECK(50000 < env->EstimatedSize());
21861 } 21860 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-intrinsics.cc ('k') | test/unittests/compiler/js-intrinsic-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698