v8/test/cctest/interpreter
jgruber 3c1f40de25 [builtins] Fix argument order inconsistency in HasProperty
The HasProperty builtin differed in its expected argument order from
the HasProperty runtime function. Like all other related spec
primitives (e.g.: GetProperty, SetProperty, DeleteProperty), it should
take {object} as the first argument and {key} as the second.

This CL changes the builtin and all related spots to use the correct
order.

There was also a tricky bug in interpreter intrinsic rewriting, which
assumes (but does not verify) that the argument order between runtime
function and builtin is identical. Besides cctests, HasProperty
intrinsic rewriting seems to be dead code.

Bug: v8:8036
Change-Id: Ia669fd6f5c73a30df4e4607064603be759ced392
Reviewed-on: https://chromium-review.googlesource.com/1167297
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Michael Stanton <mvstanton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55022}
2018-08-09 12:30:27 +00:00
..
bytecode_expectations Reland "[Interpreter] Do not use IC slots for property load/stores in an IIFE and top-level code" 2018-08-09 10:47:38 +00:00
bytecode-expectations-printer.cc Reland "[Interpreter] Do not use IC slots for property load/stores in an IIFE and top-level code" 2018-08-09 10:47:38 +00:00
bytecode-expectations-printer.h Reland "[Interpreter] Do not use IC slots for property load/stores in an IIFE and top-level code" 2018-08-09 10:47:38 +00:00
generate-bytecode-expectations.cc Reland "[Interpreter] Do not use IC slots for property load/stores in an IIFE and top-level code" 2018-08-09 10:47:38 +00:00
interpreter-tester.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
interpreter-tester.h [objects] Merge SFI outer_scope_info and feedback_metadata 2018-04-06 15:06:04 +00:00
source-position-matcher.cc [cleanup] Fix remaining (D)CHECK macro usages 2017-10-18 10:12:31 +00:00
source-position-matcher.h Use source position table for unoptimized code. 2016-06-28 05:52:52 +00:00
test-bytecode-generator.cc Reland "[Interpreter] Do not use IC slots for property load/stores in an IIFE and top-level code" 2018-08-09 10:47:38 +00:00
test-interpreter-intrinsics.cc [builtins] Fix argument order inconsistency in HasProperty 2018-08-09 12:30:27 +00:00
test-interpreter.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
test-source-positions.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00