v8/test/cctest/interpreter
Christian O. Andersson 894b95fe38 [ignition] Optimizing Smi only comparisons
There are various situations where we explicitly compare a SMI against
another SMI (e.g., BuildIndexedJump). This is also a common pattern for
generated code (e.g., comparing a loop variable with an integer). Instead
of using the generic equality/strict-equality stub for this, which is
expensive, this CL offers a simple comparison stub, repurposing the
TestEqualStrictNoFeedback bytecode to TestReferenceEqual

Bug: v8:5310
Change-Id: Ib2b47cd24d5386cf0d20d3bd794776dc6e3a02a5
Reviewed-on: https://chromium-review.googlesource.com/1007542
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Christian O. Andersson <cricke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52655}
2018-04-18 04:54:54 +00:00
..
bytecode_expectations [ignition] Optimizing Smi only comparisons 2018-04-18 04:54:54 +00:00
bytecode-expectations-printer.cc [ubsan] Change Address typedef to uintptr_t 2018-04-14 01:25:28 +00:00
bytecode-expectations-printer.h [objects.h splitting] Move Code & related classes. 2017-10-13 14:22:11 +00:00
generate-bytecode-expectations.cc [class] Add bytecode expectations test for private class fields 2018-02-22 17:34:55 +00:00
interpreter-tester.cc [presubmit] Enable and fix "build/namespaces" linter check. 2017-09-04 11:24:26 +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 [cleanup] Drop spread.js for good. 2018-03-12 09:44:11 +00:00
test-interpreter-intrinsics.cc Remove %_ClassOf and SharedFunctionInfo::instance_class_name 2018-02-15 11:52:08 +00:00
test-interpreter.cc interpreter: make interpreted frames distinguishable in the native stack 2018-04-10 19:33:55 +00:00
test-source-positions.cc interpreter: make interpreted frames distinguishable in the native stack 2018-04-10 19:33:55 +00:00