Commit 61c95039 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[torque] Minor cleanups.

- Refine the type of 'hole'.
- Remove the mysterious 'receiver' definition.
- Remove the declaration of a non-existing Print function.

Bug: v8:7570
Change-Id: If093b456a9bc31c5673ada87f262c0cfcadf11ad
Reviewed-on: https://chromium-review.googlesource.com/1032737Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52851}
parent 9f012816
......@@ -92,7 +92,7 @@ const kDetachedOperation: MessageTemplate =
const kBadSortComparisonFunction: MessageTemplate =
'MessageTemplate::kBadSortComparisonFunction';
const hole: Object = 'TheHoleConstant()';
const hole: Oddball = 'TheHoleConstant()';
const null: Oddball = 'NullConstant()';
const undefined: Oddball = 'UndefinedConstant()';
const true: Boolean = 'TrueConstant()';
......@@ -100,15 +100,12 @@ const false: Boolean = 'FalseConstant()';
const yes: bit = 'Int32TrueConstant()';
const no: bit = 'Int32FalseConstant()';
const receiver: Object = 'receiver';
const strict: LanguageMode =
'SmiConstant(static_cast<int>(LanguageMode::kStrict))';
const sloppy: LanguageMode =
'SmiConstant(static_cast<int>(LanguageMode::kSloppy))';
extern macro Print(Object);
extern macro Print(String, Object);
extern macro DebugBreak();
extern macro ToInteger_Inline(Context, Object): Number;
extern macro ToLength_Inline(Context, Object): Number;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment