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

Unified Diff: src/interpreter/bytecode-array-builder.h

Issue 2169813002: [interpreter] Add output register to ToName (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@addregouts
Patch Set: fix unittests Created 4 years, 5 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
Index: src/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index 6b4c5d2e0f719c31462819bc90efefa61ab4e16d..a55129a58cc4db3705e6b98057af42e7f423956d 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -214,7 +214,8 @@ class BytecodeArrayBuilder final : public ZoneObject {
// Casts.
BytecodeArrayBuilder& CastAccumulatorToBoolean();
BytecodeArrayBuilder& CastAccumulatorToJSObject();
- BytecodeArrayBuilder& CastAccumulatorToName();
+ // Does not update the accumulator but stores to the register operand instead.
+ BytecodeArrayBuilder& CastAccumulatorToName(Register out);
// Does not update the accumulator but stores to the register operand instead.
BytecodeArrayBuilder& CastAccumulatorToNumber(Register out);

Powered by Google App Engine
This is Rietveld 408576698